Closed harrdev closed 2 years ago
MERN
Trying to capture input value and set state key with it
Anonymous onChange function to setState with it.
Could you include a screenshot of what you've tried?
I have tried a few different ways. Code is evolving.
What stack are you using?
(ex: MERN(mongoose + react), DR(django + react), PEN, etc.)
MERN
What's the problem you're trying to solve?
Trying to capture input value and set state key with it
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
What is your best guess as to the source of the problem?
What things have you already tried to solve the problem?
Anonymous onChange function to setState with it.