You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now in clients (browser and electron) the following pattern takes place:
There are pods. Some are local to a concrete client, other are shared via xod-client
There are “entry point pods”. One for each kind of client. It’s main container is App.jsx
The problem in that App.jsx. It has too many responsibilities and going to be messy.
It contains code to wire up pods together and it contains code to wire various routines of particular pods not shared with outside world.
App.jsx for xod-client-browser and xod-client-electron contain many duplicated code.
To make thing clearer the refactoring is required.
Encapsulate as much local wiring in pods as possible inside pods and expose single PodName.jsx as an API for App.jsx which would simply place it in itself without any logic.
Extract the common code of App.jsx to somewhere inside xod-client.
The text was updated successfully, but these errors were encountered:
Now in clients (browser and electron) the following pattern takes place:
xod-client
App.jsx
The problem in that
App.jsx
. It has too many responsibilities and going to be messy.App.jsx
forxod-client-browser
andxod-client-electron
contain many duplicated code.To make thing clearer the refactoring is required.
PodName.jsx
as an API forApp.jsx
which would simply place it in itself without any logic.App.jsx
to somewhere insidexod-client
.The text was updated successfully, but these errors were encountered: