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

Remove extension warning #2405

Closed
wants to merge 1 commit into from
Closed

Conversation

m-bp
Copy link

@m-bp m-bp commented Mar 12, 2024

Related Issues or Discussions

#2404

Summary

This PR removes the Redux extension warning entirely.

Copy link

vercel bot commented Mar 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zustand-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 1:31pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Member

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is pretty reasonable now, because it's introduced in v2 or before, when nobody was using it with nextjs.
Many have complained since then, and we added enabled for more control.
But, I suspect this message doesn't help many people. We should probably improve the docs to make sure people install the browser extension.
Removing the message entirely should improve the overall DX. (I know some environments has window defined even in Node.js.)

cc: @Aslemammad @dbritto-dev @charkour @TkDodo

@dai-shi
Copy link
Member

dai-shi commented Mar 12, 2024

One thing we can consider is whether we should add this only in v5, assuming it's a kind of breaking changes.

@dai-shi
Copy link
Member

dai-shi commented Apr 6, 2024

Would anyone like to open a PR to v5 branch?

@charkour
Copy link
Collaborator

charkour commented Apr 6, 2024

I agree that this change is likely best done as a breaking change in v5. I will make a PR.

@charkour
Copy link
Collaborator

charkour commented Apr 6, 2024

#2466

@dai-shi
Copy link
Member

dai-shi commented Apr 7, 2024

superseded by #2466

@dai-shi dai-shi closed this Apr 7, 2024
@charkour charkour mentioned this pull request Apr 8, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants