Skip to content

snowack-react-ts hmr not work when packageOptions.source="remote" and "types":true #2334

Answered by FredKSchott
Relaxe111 asked this question in Q&A
Discussion options

You must be logged in to vote

You're right, I can reproduce. It looks like the Skypack CDN is serving the production build of React, which doesn't have the same hooks that HMR is expecting to hook into (hooks.inject seems to be the specific one).

We'll need support from Skypack to ship either the dev vs. production build. Until then, this will be expected not to work. Let me catch up with the team and see how quickly we can get that added.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@FredKSchott
Comment options

@Relaxe111
Comment options

@FredKSchott
Comment options

Answer selected by Relaxe111
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants