I'm fairly new to React & Redux and all this while, I'm putting all my action creators & my constants into a single file '../actions/index.js'. When I started out, this seemed fine but now, it's become this huge block of unreadable code.
Would you suggest breaking down index.js into functionality1.js, func2.js, func3.js and then importing actions as needed from split up files:
import {sampleAction} from '../action/func1';
Or is there a better way to do this?
Sorry if this seems like a silly question. I'm still trying to understand best practices in a React-Redux application.