Publish to my blog (weekly)

이미지
Test-induced design damage (DHH) (971) YouTube Stop Using React Native Async Storage | by Tarik | Feb, 2023 | Level Up Coding prominent The word "prominent" comes from the Latin word "prominere" which means "to jut out" or "to project".The word "prominent" is composed of two root words: "pro" and "minere". "Pro" is a prefix that means "forward" or "outward". "Minere" is a verb that mea...

Publish to my blog (weekly)

New chat Posted from Diigo . The rest of my favorite links are here .

Publish to my blog (weekly)

Java to Kotlin.pdf Node.js multithreading: Worker threads and why they matter - LogRocket Blog got in its way. 방해가 되었다. Posted from Diigo . The rest of my favorite links are here .

Publish to my blog (weekly)

Events / Event forwarding • Svelte Tutorial But that's a lot of code to write, so Svelte gives us an equivalent shorthand — an on:message event directive without a value means 'forward all message events'. Events / Component events • Svelte Tutorial createEventDispatcher must be called when the component is first instantiated — you can't do it later inside e.g. a setTimeout callback. createEventDispatcher must be called when the component is first instantiated — you can't do it later inside e.g. a setTimeout callback E...

Publish to my blog (weekly)

Announcing SvelteKit 1.0 to too Posted from Diigo . The rest of my favorite links are here .

Publish to my blog (weekly)

React as a UI Runtime — Overreacted - re - render Child // - re - render Child - re - render Parent  - re - render Child The setState calls in components wouldn’t immediately cause a re-render. Instead, React would execute all event handlers first, and then trigger a single re-render batching all of those updates together. If we start with count set to 0 , these would just be three setCount(1) calls. To fix this, setState provides an overload that accepts an “updater” function: c => c + 1 ...

Publish to my blog (weekly)

A Complete Guide to useEffect — Overreacted Instead, fix the problem at its source. For example, functions can cause this problem, and putting them inside effects, hoisting them out, or wrapping them with useCallback helps. To avoid recreating objects, useMemo can serve a similar purpose. The last guide to the useEffect Hook you’ll ever need - LogRocket Blog Hooks can only be invoked from the top-level function constituting your functional React component. Hooks may not be called from nested code (e.g., loops, conditions, or another function body). ...