Skip to content

Access Redux state inside of <Scroll html/> #626

Answered by viktorstopka
viktorstopka asked this question in Q&A
Discussion options

You must be logged in to vote

The way I solved this, for anyone having the same issue is (idk if it is the best possible solution), I wrapped the HTML is a Provider as well. Like this:

<Scroll html>
       <Provider store={store}>
              <PageHTML></PageHTML>
        </Provider>
</Scroll>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by viktorstopka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant