Question: how can we change the value of the state stored in context? Will it trigger a re-render of the components subscribing to it? Also if one component changes it, will it reflect everywhere in every component using it?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Question: how can we change the value of the state stored in context? Will it trigger a re-render of the components subscribing to it? Also if one component changes it, will it reflect everywhere in every component using it?