A try – Learn by sharing – Personal view
the Goal of this Speech:
Sensitivity/Vague
🤌
Maybe help you to understand more easy
How to handle reactivity?
function App() {
// maybe use external state with useSyncExternalStore
let [count, setCount] = useState(0);
useEffect(() => {
// do some side effect
}, []);
return <div onClick={() => setCount(count + 1)}>{count}</div>;
}
Dive into the source code of Fre.js
Summary
Thanks a lot😊