Hey Daniil, firstly I'd like to thank you for the amazing post. It's really helpful.
I set up on small project which has class components and it seems like for class components it doesn't work. I mean, every time I make a small change like change a h1 value the state is reset. For functional components is working like a charm!
Thanks!
Hey Daniil, firstly I'd like to thank you for the amazing post. It's really helpful.
I set up on small project which has class components and it seems like for class components it doesn't work. I mean, every time I make a small change like change a h1 value the state is reset. For functional components is working like a charm!
Thanks!
Create a stackoverflow question, send me the link, I will help you with class components.