#javascript
JavaScript, Node.js, TypeScript, JS runtimes
TIL notes
- Feb 10, 2026
Hono based on web standards is a great option for js runtimes esp. if you plan to deploy your code to cloudflare workers, bun or deno. You get faster startup time and cross-platform compatibility.
- Dec 22, 2025
npx -y npm-check-updatestells you the latest versions of yourpackage.json, ignoring pinned versions. - Nov 8, 2023
React’s
setStateis asynchronous: readthis.stateright after calling it and you may get the old value. To act on the new state, pass a callback, or usecomponentDidUpdate(which also fires on prop changes). From React gotchas.this.setState({ name: 'Jon' }, () => { // runs after the state update and re-render });