admin-panel-template-reactjs
admin-panel-template-reactjs copied to clipboard
Tests
- [ ] React testing library
- [ ] UI Snapshot testing
About test library, here is an article that they suggest to use https://www.npmjs.com/package/@testing-library/react.
Why Enzyme should be deprecated?
There are a couple of reasons that can be summarized in a few bullets:
It has a long record of falling behind changes in React, preventing people from transitioning to newer React versions
It relies on React internal implementation, and React team discourages using it
It is currently maintained by single person – and it's risky for so many companies to rely on a single person to maintain one of their crucial pieces of software
It facilitates some bad testing practices, and tests in Enzyme don't represent customer experience
There's a far better solution in the market, and the industry has already moved on
https://www.piotrstaniow.pl/goodbye-enzyme