react-testing-library vs Enzyme
fireEvent.click(getByText('Submit'))
foot gun with hooks
waitForElement()
findBy/findByAll query
does not care about implementation details
similar to our apps rendering
as it is the future
"The more your tests resemble the way your software is used, the more confidence they can give you."
Kent C. Dodds
creator of react-testing-library
state and props
users do not!
clicking a link requires test specific parameters to be passed along when simulating
Existing knowlege within the team
testingjavascript.com need purchase
Use react-testing-library