3 ms·
So when react components were classes they were comparable, but now that react components are functions they are not?
by fkyoureadthedoc 3y ago
So when react components were classes they were comparable, but now that react components are functions they are not?
- revskill 3y agoA class is a closure ?
- fkyoureadthedoc 3y agofunction Dog() {} var dog = new Dog(); Hey look classes are actually functions, now you can compare them, have at it.