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

SSR API #8

Open
artalat opened this issue Oct 3, 2018 · 0 comments
Open

SSR API #8

artalat opened this issue Oct 3, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@artalat
Copy link
Contributor

artalat commented Oct 3, 2018

Requirements

We need to add out of the box support for Server Side Rendering in BlueRain. This may require some modification in BlueRain as well as bluerain-cli-web.

  • BlueRain should have a helper method or property to check if the app is running in SSR mode
  • Each plugin may add SSR support by hooking into SSR specific hook
  • We need to have a way to access SSR context/state which server can use after boot. A use case of this can be router context to return correct HTTP status code from the server.
  • How add custom auth on the server side, with cookie or tokens, etc? We may need to have server specific hooks inside or outside BlueRain (i.e. adding custom express middlewares).
  • Explore to add support for the .ssr files just like we have platform specific files (e.g. *.web.ts, *.iso.ts, *.android.ts)
@artalat artalat added the enhancement New feature or request label Oct 3, 2018
@artalat artalat added this to the BlueRain V4 milestone Oct 3, 2018
@artalat artalat removed this from the v5.0.0 milestone Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant