Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support React.StrictMode #2080

Open
kevinxh opened this issue Oct 15, 2024 · 0 comments
Open

[FEATURE] Support React.StrictMode #2080

kevinxh opened this issue Oct 15, 2024 · 0 comments
Labels
Acknowledged Team has responded to issue

Comments

@kevinxh
Copy link
Collaborator

kevinxh commented Oct 15, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Community feature request:

Hello :slightly_smiling_face:,

I'm currently researching all the possible debugging tools we can use in PWA and was curious why the React.StrictMode component is not used in the root component.

Using `React.StrictMode` offers several advantages:
- Identifies Potential Issues: Detects unsafe lifecycle methods and deprecated APIs.
- Enhances Code Quality: Encourages best practices and cleaner code.
- Detects Side Effects: Helps find unexpected side effects in components.
- Improves Future Compatibility: Prepares code for future React releases.
- Optimizes Performance: Highlights performance bottlenecks during development.

Was it removed intentionally?
Thanks!

Describe the solution you'd like
A clear and concise description of what you want to happen.

Similar to next.js reactStrictMode: true flag

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@kevinxh kevinxh added the Acknowledged Team has responded to issue label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Acknowledged Team has responded to issue
Projects
None yet
Development

No branches or pull requests

1 participant