I recently had to write tests for a React app that used Redux, React Router and Apollo Graphql. I first tried using enzyme to render the components, but couldn’t get it to work as intended, so I opted for the react-testing-library.
When programming, we don’t need to reinvent the wheel every time. In order words, if something has been done before, we don’t need to write the same code again to do the same thing. We can just use the previously written code. These libraries are well tested so they have less bugs and faster performance.
Github pages is a great service provided to developers for serving static content.