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

Usage within redux overwrite my app state #6

Closed
igoldny opened this issue Dec 1, 2015 · 4 comments
Closed

Usage within redux overwrite my app state #6

igoldny opened this issue Dec 1, 2015 · 4 comments

Comments

@igoldny
Copy link

igoldny commented Dec 1, 2015

i'm writing redux app and if i wrap my app with Grid its overwrite my state and i get react-inline-grid state within my app

@kartikag01
Copy link

i have used https://github.com/dowjones/react-cellblock it doesn't have overwrite state issue

@micahthomas
Copy link

micahthomas commented Mar 31, 2017

Yeah seriously threw me for a loop, atleast put some disclaimer on the README

@sdee
Copy link

sdee commented May 15, 2017

Is there a workaround for this issue?

I posted a question on Stackoverflow (http://stackoverflow.com/questions/43927596/components-loose-access-to-store-when-wrapped-in-grid-react-inline-grid/) and someone directed me here.

Seems like the Grid's component provider is overwriting my App's provider.

@micahthomas
Copy link

I don't think there is a easy workaround. You would need to pass in the store via another provider component or via props.

I ended up switching to react-flexbox-grid, it took some work but ended up being a simpler and reliable solution.

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

4 participants