Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Pre-render for React apps #411

Open
egoist opened this issue Apr 12, 2018 · 1 comment
Open

Pre-render for React apps #411

egoist opened this issue Apr 12, 2018 · 1 comment
Labels
RFC Request for comments

Comments

@egoist
Copy link
Owner

egoist commented Apr 12, 2018

💬 Request for Comment

Similar thing has been added for Vue.js via @poi/plugin-vue-static so the next step is adding support to React/Preact apps, maybe as a third-party plugin poi-plugin-react-static.

  • poi --serve: Run this file as an SPA
  • poi --prod: Generate static HTML files and assets
@egoist egoist added the RFC Request for comments label Apr 12, 2018
@darcnite3000
Copy link

i would recommend looking at the ReactRouter.StaticRouter example as this seems the best way to get a location context into the build.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
RFC Request for comments
Projects
None yet
Development

No branches or pull requests

2 participants