Remove components & add microorchestrator hook
Closed this issue · 0 comments
pepoospina commented
Let's have DaosWiki.tsx
as the only React component that does everything related to prepare the Wiki and renders the <wiki-drawer>
.
This means removing the ReactiveWiki react component and the SimpleWiki web-component and move their functionality into DaosWiki.
DaosWiki.tsx will need the microorchestator container to create the Wiki (done by SimpleWiki), so we need to find the best way to do this. I understand React hooks can be used to inject something to all components.