Posts by eddev13 • 1 point
1 post
-
0
votes1
answer31
viewsQ: setState outside the constructor
Devs, I created a clock that updates the state every second but I have the following question, someone could explain to me why setInterval works correctly only if it is inside the constructor? class…
react-nativeasked eddev13 1