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
Hi I read all your document architecture and the code. and i want to undestand how a new react component is integrated and executed.
As sample i have study sheets-numfmt pluging. In this plugin a react component has been created : SheetNumfmtPanel
and has been registred as component in a controller
private _initPanel() {
this._componentManager.register(SHEET_NUMFMT_PLUGIN, SheetNumfmtPanel);
}
But even if i look at the _componentManager, i dont see how the component is integrated in the react life cycle. how to inform univer where to display to component SheetNumfmtPanel
Can you help me with that.
Sorry for my approximative english
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi I read all your document architecture and the code. and i want to undestand how a new react component is integrated and executed.
As sample i have study sheets-numfmt pluging. In this plugin a react component has been created : SheetNumfmtPanel
and has been registred as component in a controller
private _initPanel() {
this._componentManager.register(SHEET_NUMFMT_PLUGIN, SheetNumfmtPanel);
}
But even if i look at the _componentManager, i dont see how the component is integrated in the react life cycle. how to inform univer where to display to component SheetNumfmtPanel
Can you help me with that.
Sorry for my approximative english
Beta Was this translation helpful? Give feedback.
All reactions