Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETA for public release? #2

Open
madeleineostoja opened this issue Aug 13, 2020 · 3 comments
Open

ETA for public release? #2

madeleineostoja opened this issue Aug 13, 2020 · 3 comments

Comments

@madeleineostoja
Copy link

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?

@jakobrosenberg
Copy link
Member

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

@madeleineostoja
Copy link
Author

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.

@jakobrosenberg
Copy link
Member

jakobrosenberg commented Aug 16, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants