rsnext/errors/fast-refresh-reload.md

18 lines
520 B
Markdown
Raw Normal View History

2022-11-28 14:18:26 +01:00
# Fast Refresh had to perform full reload
#### Why This Error Occurred
Fast Refresh had to perform a full reload when you edited a file. It may be because:
- The file you're editing might have other exports in addition to a React component.
- Your React component is an anonymous function.
#### Possible Ways to Fix It
- Move your other exports to a separate file.
- Use a named function for your React component.
### Useful Links
[Fast Refresh documentation](https://nextjs.org/docs/basic-features/fast-refresh)