I am having a Question About React Context API
For Instance, I have the following App structure:
<AppContext>
<LoadingScreen/>
<SignUpFormPage/>
<ProfileFormPage/>
<ApplyFormPage/>
</AppContext>
Now I would like to have a state call isLoading in <AppContext>, I will change it to true whenever a user submit form on <SignUpFormPage/>, <ProfileFormPage/>, or <ApplyFormPage/> , Is there an implementation that all pages can change the isLoading state in the context, but only LoadingScreen will be re-rendered?