Our great sponsors
-
custom-react-hooks-demo
https://dev.to/kirillshvets97/writing-useful-custom-react-hooks-with-typescript-and-testing-them-with-react-testing-library-2me
-
react-hooks-testing-library
🐏 Simple and complete React hooks testing utilities that encourage good testing practices.
-
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.
If you want to get the source code, you can visit the repository on GitHub.
Next, we need to install react-hooks-testing-library package. It's a simple testing utility that allows testing hooks with ease. You can read more about this package here.