'React data down, action-up, pass state variable
I want to pass a state variable to another component but i don't get it what i'm doing wrong.
I have a component for radio inputs and I need to pass that taskLabel to Form component to use it in submitHandler function.
This is ( https://codesandbox.io/s/icy-waterfall-yb8knl?file=/src/components/task-label/index.js:761-778 ) what I tried, but now i'm getting that error, setTaskLabelProps is not a function.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
