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

feature request: user provided state in bankai SSR #410

Open
cdaringe opened this issue Feb 5, 2018 · 2 comments
Open

feature request: user provided state in bankai SSR #410

cdaringe opened this issue Feb 5, 2018 · 2 comments

Comments

@cdaringe
Copy link

cdaringe commented Feb 5, 2018

problem

discussion

  • existing discussion here
    • maybe a e.on('prerender', (route, state, cb) => ()) API would fill the need?
  • i also need a convention for hydrating that base state browser-side as well. maybe we can collab on this in tandem here?

🚞🚞🚞

@goto-bus-stop
Copy link
Member

choo reads state from the window.initialState variable, so we can output code for that in bankai.

@cdaringe
Copy link
Author

cdaringe commented Feb 7, 2018

neat-o. let's move the convo over to #413!

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