Does react redux+saga have a good framework to handle? It is troublesome to maintain the introduction of a large number of files.

reudx middleware listens to saga, so the file to be maintained is

saga.tsx

// saga

reducer.tsx

// reducer

index.tsx

// 
After

, there are router, api, and so on to maintain.
do you automatically scan all the pages in the pages folder and automatically introduce plug-ins such as reducer and saga plug-ins?
is mainly to write a page to maintain N files to introduce, too tedious.

May.07,2022
Menu