Nice article! Thanks.
One question: in the last topic, you talked about not using empty dependency array as a guarantee to execute once. But then what would be the correct solution to guarantee 1 execution in React 18?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article! Thanks.
One question: in the last topic, you talked about not using empty dependency array as a guarantee to execute once. But then what would be the correct solution to guarantee 1 execution in React 18?