3 ms·
Thanks for the analysis. The event bus is one of the more interesting concepts. You could have a single component that includes the HTML table/view component
by Sn0wCoder 6y ago
Thanks for the analysis.
The event bus is one of the more interesting concepts. You could have a single component that includes the HTML table/view component and the add item dialog component wrapped into one bigger component. When the add component closes fires event to the view component to refresh based on the new data. A global state object might be easier, but I have yet to jump on the global store (flux/redux/NgRx) wagon yet. Although I do look forward to learning about how Ficus implements the global store and how I can use the concept in future projects.