dragos Posted on Mar 22, 2021 • Edited on Jan 14, 2024 How to store value from textarea in a global state? With React Hooks and the Context API ? #reacthooks #contextapi #state #help I want to use text from textarea in few functions, that function must be in separate files. After functions convert text I want to write new text in the same textarea. I did it with JS but in react it is very difficult for me. Can you help me? https://codesandbox.io/s/ucirl-forked-xdhbk Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)