Commit graph

10 commits

Author SHA1 Message Date
Vesa Luusua
1fa70eadf2 Pass preloaded state to client side. 2017-01-20 15:02:54 +02:00
Kimmo Puputti
4e2aedbd14 Move client and server apps to a separate file
index.js is the entrypoint file for the bundle and has to render the
app when running within a browser. Separating the app routing init
etc. to a different file allows us to import both ClientApp and
ServerApp in e.g. tests no matter which env we are in.
2017-01-11 16:01:35 +02:00
Kimmo Puputti
40c23217e9 Add documentation. 2017-01-11 10:06:49 +02:00
Kimmo Puputti
ba3418c661 Add documentation 2017-01-09 11:54:38 +02:00
Kimmo Puputti
c14fe8efe8 Fix ServerRouter props 2017-01-05 20:57:33 +02:00
Kimmo Puputti
83f80b6950 Implement page title handling with SSR support using react-helmet 2017-01-05 17:01:14 +02:00
Kimmo Puputti
322ec599b8 Add page structure and universal routing 2017-01-05 14:23:06 +02:00
Kimmo Puputti
6f93d85a7d Render application in the server 2017-01-05 14:22:40 +02:00
Kimmo Puputti
089910cf4e Make app entry point Universal
- Render to DOM in a browser
 - Export a render function for the server
2017-01-04 21:42:27 +02:00
Kimmo Puputti
d9dd053277 Init new app with create-react-app 2017-01-04 21:12:15 +02:00