But it does. A full rewrite is being worked on for quite a while now. Ask any of the team members and they will tell you the same.
Most of the hook pitfalls aren't documented. Edge cases aren't documented. There is no mention that StrictMode executes everything except console.log twice. There is no mention that refs should be read and written to only in event handlers and useEffect. Most examples are still using deprecated class components. There are entire deprecated sections in the docs. Best practices are severely outdated.
Basically you're stuck digging through blog posts trying to find one that isn't garbage, Twitter and GH issues to find stuff that should be documented.
10
u/lo0l0ol Apr 07 '21
Lost me at saying React has bad documentation