Should the react, score be stored in state, store, url?

Ladies and Gentlemen
my younger brother currently has a face


< click > one, two, three < / click >
{data}
< / div >

Press sub-section to display different data
click sub-section 1 to show data for sub-category 1
data for sub-category 2
display format style for each section is the same
only different data

my question comes
what way should I use to check which sub-section the user is looking at?
what I know is stored in state, sotre or even displayed on url, and then I solve
from url, but the main points and deficiencies of these three methods are not very clear. I have come to teach

.

it has been found that there is little mention in some places. I am very sorry

this page has separate points.
the first one has been stored on store and url.
because users do not have to split again




when users go to other interviews and come back again.

<div>
    
    {}
</div>

< / div >

Sep.07,2021

1. Stored in state:

:state
:state
    

2. Stored in store

:
:,

3. Stored in url

:state
:urlprops,prop,prop

if there are any omissions or mistakes, please feel free to spray


is url, of course. You can find any website with paging to see if it exists on url.

Menu