I just got started with ReactJS and am a little stuck on a problem that I have.
My application is essentially a list with filters and a button to change the layout.
At the moment I’m using three components: <list />
, < Filters />
and <TopBar />
, now obviously when I change settings in < Filters />
I want to trigger some method in <list />
to update my view.
How can I make those 3 components interact with each other, or do I need some sort of global data model where I can just make changes to?