children to mutate it in react?
Like passing an empty object directly, to get some properties on it. I know how to do it by sending a setstate function, but that felt a bit unnatural, hence my question.
it's not react limitation it's js
It is possible, but I strongly recommend against it
Обсуждают сегодня