issues
search
AbdelrahmanSadat
/
SMS
SMS with Electron, React, Sequelize & sqlite3. Using electron-react-boilerplate
MIT License
0
stars
0
forks
source link
Separating DB and API Logic from UI Logic in React Componenets
#32
Open
AbdelrahmanSadat
opened
4 years ago
AbdelrahmanSadat
commented
4 years ago
Consider splitting containers into two levels of containers one that handles the communication with the DB and the other handles the UI logic
Consider using HOCs (also, look up hooks, context, or other ways this can be implemented)
Consider abstracting away into the new layer (between the DB and the UI) both the DB operations, and the non-UI logic
AbdelrahmanSadat
commented
3 years ago
Added API layer into a set of functions for each container