Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You can find more information here: https://github.com/DefinitelyTyped/DefinitelyTyped
Regarding best practices, the best practice now is definitely using functions. This is taught in the official React documentation (https://react.dev/). Personally I learnt class-based components first, then found that it was outdated. But I found the concepts of lifecycle methods being very useful, and its just a matter of finding the equivalent in function-based components.