You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Export only React components – If a file exports a mix of React components and other types of values, its state will be reset whenever it changes. To preserve state, only export React components and move other exports to a different file if possible.
Merging #1401 (fd663a3) into master (2c43fc7) will decrease coverage by 0.26%.
The diff coverage is 92.04%.
❗ Current head fd663a3 differs from pull request most recent head e91f8f0. Consider uploading reports for the commit e91f8f0 to get more accurate results
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1393
https://parceljs.org/recipes/react/#fast-refresh
I'm not sure if this is inherited from React's fast-refresh limitation https://reactnative.dev/docs/fast-refresh#limitations
The module you're editing might have other exports in addition to a React component
or from https://github.com/parcel-bundler/parcel/blob/4fb6cd9/packages/runtimes/hmr/src/loaders/hmr-runtime.js#L179