Answer the question
In order to leave comments, you need to log in
How to get a SyntheticEvent object while using a function passed through props?
Good afternoon, I passed the function as props. I use it as an event handler.
At the output I get an error, e = undefined.
component
code: decorator code:
PS Everything works. only adds "#" to the address bar.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question