4 ms·
You can test the base component or test the connected component with a dummy state. If your state is shallow, this is very easy to do.
by egeozcan 9y ago
You can test the base component or test the connected component with a dummy state. If your state is shallow, this is very easy to do.
- Jare 9y agoMy second problem with Redux, besides the common one about boilerplate, is precisely the mismatch between the recommended, RDBMS-like shallow store, and the typically tree-like OO nature of both the UI and the application logic. I understand that concrete containers act as adapters between the store and a given level of the application/UI tree, but this "impedance mismatch" is a real drag.