I'm a beginner in React, just a question on the use of adapter. I saw some code like this:
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({
adapter: new Adapter()
});
I was told that an adapter can reduce the core libraries, but how does adapters actually works?