Passing data between components and page
Answered
Transvaal lion posted this in #help-forum
Original message was deleted.
Answered by Transvaal lion
It looks like this may work https://react.dev/learn/sharing-state-between-components
Wrap the entire box in a "searchAndFilter" component
Then search as its own component, filter button component, filter modal as another .. and filterlist as a 3rd... With the filter data being stored at the "searchAndFilter" component level.
Wrap the entire box in a "searchAndFilter" component
Then search as its own component, filter button component, filter modal as another .. and filterlist as a 3rd... With the filter data being stored at the "searchAndFilter" component level.
1 Reply
Transvaal lion
It looks like this may work https://react.dev/learn/sharing-state-between-components
Wrap the entire box in a "searchAndFilter" component
Then search as its own component, filter button component, filter modal as another .. and filterlist as a 3rd... With the filter data being stored at the "searchAndFilter" component level.
Wrap the entire box in a "searchAndFilter" component
Then search as its own component, filter button component, filter modal as another .. and filterlist as a 3rd... With the filter data being stored at the "searchAndFilter" component level.
Answer