Redux with React4XP

So, i started playing around with React4XP and was wondering if is there any way to use Redux with it, since i can’t find a root App to put it.

Hi! I’ve used Redux with a couple of my development cases. Not extensively/deeply, but seems to work fine so far. The key is to think of each Entry as a root app, which imports the sub-components and frameworks it needs.

Sharing redux states between Entries is also possible, but that requires a little JS trickery.

1 Like

hi Espen,
may i know more about this
“Sharing redux states between Entries is also possible, but that requires a little JS trickery.”

can anyone help me how to pass redux state between Entries ?

Hi, Shanika!

If it’s possible, I think the best approach is if we could have a quick meeting (slack, google meet, teams, zoom etc) to get an overview and look for solutions - and summarize it here for the later record afterwards. Does that sound good to you?

Espen

yes sure…thanks a lot

Are you using slack by any chance? enonic-community.slack.com
If not, I can set up a google meeting later today.

if possible I can join with google meeting. thanks a lot for your great help