- BREAKING:
createServer
now takes just arender
method, notrenderApp
andrenderDocument
, and then you callback from render with those. See the blueprintserver.js
. This allows for custom data loading abstractions (like AsyncProps) that need the props from React Routermatch
and then sends the data to both the<Document/>
(for data hand-off) and the<App/>
.
- BREAKING:
createServer
API now allows for request specific setup - BREAKING:
serverRouteHandler
API gets params and location
- ignore
node_modules
regression fixed. Must faster initial bundle times now.
- Lots of screwing around w/ the blueprint, weird npm things and other
stuff that eventually led to
create-react-project
global npm install. I don't like global installs either. You can remove it after you've used it to create the blueprint.
- fixed skipping first prompt in init
- allow apps to add express middleware before express routing starts
- fixed init issues #8, #9
- added hook for server data hydration
- fixed missing babel-preset-react-hmre dep
- switched from
prompt-sync
toprompt
because all of the issues so far came fromprompt-sync
:(. - cleaned up package.json dependencies, many were dev dependencies
start
adds missing deps to package.json, making upgrading awesome
-
start
now checks dependencies so when you upgrade React Project, you know how to update your app to work with it. -
added some default security stuff to the web server.