Closed StarpTech closed 5 years ago
The reason is that I need a root node for my component but in that case I can't wrap the <html>
(app-layout) because it would break my page.
The workaround is to manage the state in another top level component instead in root page component.
I can't find it anywhere in the docs. That's a mess. There are so many edge-cases without proper error messages.
This seems already a known limitation in marko https://github.com/marko-js/marko/wiki/Error:-Stateful-components-cannot-contain--html-,--head--or--body--tags
Marko Version: 4.15.2
Error in frontend: