|
|
|
|
|
by strogonoff
698 days ago
|
|
Describing the state by design implies not working at the same level as getting to that state, though—I’m not sure if there is some subtlety I’m missing—and to me there seem to be obvious benefits (and downsides, as mentioned above) to not explicitly manipulating DOM where I want to just describe how a page should be structured. |
|
And as the parent points, this should prevent some amount of unexpected HTML injection.
There's still a separation between the view and the page structure.