roxi icon indicating copy to clipboard operation
roxi copied to clipboard

ETA for public release?

Open madeleineostoja opened this issue 5 years ago • 3 comments

I’ve been following Roxi’s development closely, and I’m really keen to try it out in production. Is there a rough timeline for a stable public release? I noticed you’re already on v1.x.x, which suggests a stable API? Is documentation the main thing missing?

Also will Roxi have an equivalent to Sapper’s preload function, which gets tree shaken out of clientside code bundles?

madeleineostoja avatar Aug 13 '20 23:08 madeleineostoja

Hi @seaneking.

ETA: There are public releases ^1.1.2, but they're not considered stable. As for a stable release, there's no ETA yet.

We use semantic-release doesn't use 0 major, hence the 1.x.x releases. An announced will be made once we reach stable.

Preload: Roxi will be using Routify at the core, which provides window.routify.inBrowser to determine which code runs in the browser/server.

If you´re interested Roxi in it's current state, you can try it with:

npx roxi create my-app

jakobrosenberg avatar Aug 14 '20 10:08 jakobrosenberg

Gotcha, thanks for the thorough reply!

Re: serverside code, will Roxi/Routify provide the inBrowser check as an import or something to check against? Doing a window && window.routify && window.routify.inBrowser check just to split out some SSR deps seems clunky.

madeleineostoja avatar Aug 14 '20 20:08 madeleineostoja

You don't have to check against window first. It's available in JSDOM. IIRC if (routify.inBrowser) is enough.

I have considered adding a helper. Mainly to run the check before Routify has been initialized.

jakobrosenberg avatar Aug 16 '20 07:08 jakobrosenberg