In the most urgent use case, we need to do two things with this tool:
- BDD workflow for writing HTML components
- Export components to be used in a Symfony backend
In both cases the components data can come from the file system. This is solved.
Sometimes (more rarely) we do need to add live components to a page. For example a list should update it's content. This is still not an SPA, so we don't need routing. We just need that the dispatch function updates the model and rerenders.
The realistic use case will be to have several independent components rendered on the page. Plan out the architecture, how they should be managed.
#16 #17