DEV Community

loading...

Discussion on: You have to read this before you will plan the structure of your next frontend application

Collapse
mohas profile image
Mohas

One of the conveniences of flat system is that by placing an index file in reducers for example, I can import any reducers by deconstruting the index file like
import { userReducer, eventReducer } from '../reducers'
And it is neat and clean