Explore tweets about #react.memo on Twitter
@coa00
cohei aoki(Expo & Amplify & UX)
4 hours ago
useCallback, useMemo の闇を知った。react.memo とかいらないよーと言われる理由やったわかった。
1
0
0
@Yametaro1983
無職やめ太郎(本名)🍥
2 days ago
仮想DOMで高速化されるけど、その仮想DOMの構築・比較すらReact.memoですっ飛ばすと。
0
0
9
@Yametaro1983
無職やめ太郎(本名)🍥
2 days ago
Elmのドキュメントやけど、React.memoと同じ話やな。 https://t.co/USKChNG4G4
0
0
2
@Yametaro1983
無職やめ太郎(本名)🍥
2 days ago
React.memoしとかないと、思った以上にコンポーネントって何十回も描画されてるんやね。 (パフォーマンスの悪さはそんなに感じなかったりもするけど)
1
3
23
@Hicksyfern
T Hicks
3 days ago
@jorilallo @OrbitalChat Using jotai for state (still not using atom families yet but will soon), the React perf dev tools and a few React.memo calls all around and that’s pretty much all the optimisation that’s been necessary for rendering several thousand elements into an infinite canvas.
0
0
8
@jsunderhood
jsunderhood
3 days ago
А затем у тебя начинают вызывать вопрос: `React.memo`, `shouldComponentUpdate` и кастомные компараторы. – «А зачем в этот узел вообще текут данные, если на вход мемоизация? Может, структуру компонента и поток данных сначала пересмотреть?» Нам надо чаще думать о потоке данных.
1
0
4
@Yametaro1983
無職やめ太郎(本名)🍥
4 days ago
React.memoってElmのHtml.lazyに似てるな
0
0
5
@borjadotai
Borja
4 days ago
TIL: React.memo can take a second param to define your own custom compare function. Rather than assuming that the component needs to re-render based on ANY prop change, you can define your own custom logic as to when it should re-render and when not to. https://t.co/ftelDhIwpL
0
0
1
@Nam_Nguyen007
Nam
5 days ago
Day 12 of #100daysofcodechallenge ✨ Today in #react course, I learnt how to implement prop drilling, proptypes, how to set up a React router and optimize React using React.memo, useMemo and useCallback. #html5 #css #Javascript #React #Git #Github #codenewbie #WebDeveloper https://t.co/VJYRKUDehI
Tweet media one
0
3
1
@OnurGumusDev
Onur Gümüş
5 days ago
@jordan_n_marr Careful though, in general you will want React.memo at some places
0
0
1
@ShawnBarbel
Loading...
5 days ago
Such an easy fix. React.memo to save the day!!!
0
1
3
@it_sin9k
АйТи Синяк
6 days ago
Давно уже просили сделать обзор на React.memo, поэтому данное видео даст вам четкое понятие, что из себя представляет memo и чем отличается от useMemo. И конечно мы разберемся в его исходниках, а там есть на что посмотреть! https://t.co/pgK1gId6uo https://t.co/oslokjinTl
Tweet media one
0
1
6
@tashiro_rb
tashiro
6 days ago
有休太郎、明日はReact.memoとAdministrateを駆逐しようと思います
1
0
0
@nguyenhuudungz
Nguyễn Hữu Dũng
7 days ago
Whether using Redux or React Context, they all re-render the entire App after changing the state. This can be prevented by wrapping the component with "React.memo".
0
0
0
@eielh
えいる@補助人工心臓で子育て🔥🌇
8 days ago
> <Context.Provider/>で囲った箇所(ツリーの子孫)は、Contextの値が更新されると全て再実行される。 直下の子をreact.memoしてたらuseContextしてるところしか更新されないような。(未確認 https://t.co/tYLVKkJmYw
@ikkitang
ikkitang
8 days ago
4件のコメント https://t.co/nrccsbRzYD “Reactのprops/contextの使い分け - saneyuki_s log” (143 users) https://t.co/HAPx5ZqXDU
1
0
1
@seyi__xo
Sahbabii
9 days ago
@favourcodes Omo. Ever optimized a react app with context and hooks? I'll do a lot of that next week. Time to put useMemo and react.memo to good use.
2
0
0
@archimydes
archimydes
9 days ago
Some ways to optimize re-renders: - shouldComponentUpdate lifecycle method (class based components) - use PureComponent - React.memo and useCallback hook (function based components)
1
0
9
@tashiro_rb
tashiro
9 days ago
React.memo難
0
0
0