diff --git a/README.md b/README.md index 87d4ea0..ecb183b 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,9 @@ const render = () => element.innerText = parity(); // Simulate external updates to counter... setInterval(() => setCounter(counter + 1), 1000); ``` +> [!NOTE] +> Globals are used here for demonstration purposes only. Proper state management has many solutions, and the examples in this proposal are meant to be as minimal as possible. This porposal does not encourage global variables. + This has a number of problems...