10 Matching Annotations
- Dec 2022
-
www.developerway.com www.developerway.com
-
Context selectors, however, could be faked with the use of higher-order components and React.memo.
-
If in Context there is a combination of data and API (getters and setters) they can be split into different Providers under the same component. That way, components that use API only won’t re-render when the data changes.
-
the typical use case for useMemo would be to memoize React elements. Usually parts of an existing render tree or results of generated render tree, like a map function that returns new elements
-
If a child component is wrapped in React.memo, all props that are not primitive values have to be memoized
-
All props that are not primitive values have to be memoized for React.memo to work
-
state changes
-
- Nov 2022
-
www.caichinger.com www.caichinger.com
-
Android also has a function to log all traffic into a file, which can later be copied to a computer for analysis in Wireshark.
-
-
bugzilla.mozilla.org bugzilla.mozilla.org
-
interpreted as normal white space for rendering
Tags
Annotators
URL
-
-
til.simonwillison.net til.simonwillison.net
-
But if you want to be able to make local edits and then push them back, you need to use this recipe instead: git clone git@gist.github.com:0a30d52feeb3ff60f7d8636b0bde296b.git You can find this in the "Embed" menu, as the "Clone via SSH" option.
-
-
news.ycombinator.com news.ycombinator.com
-
network.http.sendRefererHeader to 2 (or pressing the reset button to the right)
Tags
Annotators
URL
-