pay attention to use setState. In general, you should build a new Object.
There are three vital types
- the state itself changed by user behaviour.
- parent component rendered.
- the context changed.
use Date.now() to print the component state.
- split the components
- use Reduce(you can learn the Selector)
use @tanstack/router-plugin and vite to generate the file path router.