To put it simply, global state is the data that is shared between all the components within a React application . When the state is changed, or let’s say a filter is added, the components re-render accordingly.
To put it simply, global state is the data that is shared between all the components within a React application . When the state is changed, or let’s say a filter is added, the components re-render accordingly.