Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Conversation

@mxstbr
Copy link
Contributor

@mxstbr mxstbr commented Jul 2, 2018

Status

  • WIP
  • Ready for review
  • Needs testing

We can't HMR src/index.js, but we can HRM src/routes.js. The issue is that we don't want to HRM src/routes.js on the server, so we create another file src/hot-routes.js which wraps the src/routes.js in the hot reloading stuff which is only used on the client.

We can't HMR src/index.js, but we can HRM src/routes.js. The issue is
that we don't want to HRM src/routes.js on the server, so we create
another file src/hot-routes.js which wraps the src/routes.js in the hot
reloading stuff which is only used on the client.
@mxstbr mxstbr merged commit 51db70f into alpha Jul 2, 2018
@mxstbr mxstbr deleted the fix-hmr branch July 2, 2018 14:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants