Components are the primary unit of code reuse in React, but it's not always obvious how to share the state or behavior that one component encapsulates to other components that need that same state.
Editing The Scratchpad window looks something like this(on macOS the menu bar is at the top of the screen): The File menu offers options to save and load JavaScript code snippets,so you can reuse code later if you like.
ガイドライン:コードを再利用せよ--特に標準ライブラリのコードを--自分で手作りするのではなく。
Reuse code- especially standard library code- instead of handcrafting your own.
日本語
中文
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt