2 ms·
I am not saying that you don't need markup at all. Window content can still use markup. But it is not clear why do you need it for defining Application and Win
by c-smile 8y ago
I am not saying that you don't need markup at all.
Window content can still use markup. But it is not clear why do you need it for defining Application and Window abstractions.
In browsers DOM element is a subject of style applicability and events handling. But why do you need DOM nodes for application and window ?
- always_good 8y agoWhat does your trivial wrapper actually improve though? window = (...children) => <App><Window>{...children}</App></Window> Over the years I've learned that some boilerplate isn't bad. In fact it means App and Window are implemented in the same abstraction that I'm using.