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
We now have a new method to init and inject the cozy-stack variables in the app's dom. We use cozy-data={{}} instead of cozy-data-X={}. By doing so, we can break the bar if the app doesn't pass all the value during the initialization phase of the bar.
I think we should remove the fact that the Bar can init itself from the DOM. The APP should be responsible to do that.
We now have a new method to init and inject the cozy-stack variables in the app's dom. We use
cozy-data={{}}
instead ofcozy-data-X={}
. By doing so, we can break the bar if the app doesn't pass all the value during the initialization phase of the bar.I think we should remove the fact that the Bar can init itself from the DOM. The APP should be responsible to do that.
We should remove https://github.com/cozy/cozy-bar/blob/master/src/dom.js#L4 for instance.
cozy-bar/src/index.jsx
Line 151 in 35e4bcd
(see cozy/cozy-drive#2395)
The text was updated successfully, but these errors were encountered: