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

Removing the ability to create a Redux store directly from the extension #613

Closed
zalmoxisus opened this issue Dec 16, 2018 · 5 comments
Closed

Comments

@zalmoxisus
Copy link
Owner

It is possible to create a Redux store directly with the extension (without importing Redux in your app) when you need it for debugging only. It's not about the store enhancer or compose helper as it's usually applied. See the docs, the example and the blog post for more details. That was introduces for more than 2 years, but doesn't seem anybody using it. Now with React hooks, that example wouldn't make much sense. One can move that inside an integration including redux for development only, like reinspect does.

The suggestion is to remove that part in next major release. I'll add a deprecation waring in the next minor version.

If you're using it, please let me know about your use case.

@kimamula
Copy link

kimamula commented Mar 6, 2019

I am not sure how React hooks are related to this extension.
I am using this extension in my Angular app (without Redux) based on your blog post and found it began outputting the deprecation warning recently.
What is the correct way to use this extension without React and Redux?

@quisido
Copy link

quisido commented Apr 9, 2019

If this is still an issue, I am in the process of adding ReactN's global state to Redux DevTools. Since ReactN does not use a Redux store, it is not possible to pass an existing one. Having the DevTools fallback to making one would be beneficial, such that the dependency lies in the extension instead of in my package. It is detrimental to my users to have them include Redux in their bundle just so that one of their developer tools can show them a store.

Without this feature, I am left having to make my own minimalist implementation of a store so as not to include Redux in my bundle. It's been a burden to create, and will continue to be a burden to maintain. This would be alleviated if Redux DevTools made the store on its end.

As is, I'm currently afraid to rely on Redux DevTools creating the store, given this Issue and the comment about its deprecation(?).

But this is my use case. I do not want to maintain a Redux store, but I do want to display a non-Redux store to my users.

@nik72619c
Copy link
Contributor

anybody working on this issue ?

@anukul
Copy link

anukul commented Dec 19, 2020

@Methuselah96
Copy link
Collaborator

Removed in 3.0.

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

No branches or pull requests

6 participants