2 ms·
The claim that if you used React for the past 6 years meant you used a single library is almost certainly false. Because what React is as a library today, with
by rhaway84773 4y ago
The claim that if you used React for the past 6 years meant you used a single library is almost certainly false.
Because what React is as a library today, with functional components+hooks is completely different from what React was when it first came out, with class components.
React is quite clearly a name that incorporates at least 2 distinct libraries which are supposed to be fully compatible but they’re not…try using a ref for a functional component.
The existence of these 2 libraries under the same name means thst documentation is also increasingly confusing. It also
means that both libraries are probably making compromises
So they’re still compatible with each other on the surface.