Open danziamo opened 6 years ago
If i want to host two resch applications using only one state. Is it possible to make such all data from 1st application would be stored under data
, and all data from 2nd applications would be stored under other name, for example parameters
. So it would be
this.state = {
data: undefined, // all data belonging to 1st resch
parameters: undefined // all data belonging to 2nd resch
}
Cause right now i might have to duplicate default widgets
@danziamo what if you keep data
over one more layer?
like state.app1.data
and state.app2.data
?
@drom good idea. Will do this. It means. I just need to create another updateState function
right now config looks following way
It would be nice if resch could propogate down some custom config objects down (so there would be no necessity in creating custom widgets)