Answer the question
In order to leave comments, you need to log in
What rule needs to be added to the linter so that it would be possible to check and call the function through the new syntax (?.)?
Good afternoon! Can you please tell me what rule needs to be added to the linter, so that it does not prohibit the use of the new syntax to call the function by preliminary checking?
and write like this:
Or maybe there is information where you can read about it? (I can not find)
(this.props.addFun) this.props.addFun()
this.props.addFun.? ()
Answer the question
In order to leave comments, you need to log in
Question removed! https://dev.to/ismail9k/use-javascript-optional-ch...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question