本記事は、@asidorenko_氏による「A Visual Guide to React Rendering - Refs」(2021年11月16日公開)の日本語翻訳を、著者の許可を得て掲載しているものです。説明の都合上、一部変更してる箇所があります。 Refsによる値の保存 When you want a component to "remember" some information, but you don’t want that information to trigger new renders, you can use a ref—it’s like a secret "pocket" for storing information in your component! 「コンポーネントに情報を「記憶」させたいが、その情報が新たなレンダリングのトリガーになることは避けたい場合