4 ms·
The comment is negative and incorrect all of the js frameworks mentioned are view layer libraries. i.e. they create html. Hence they need a DSL for writing tem
by rk06 5y ago
The comment is negative and incorrect
all of the js frameworks mentioned are view layer libraries. i.e. they create html. Hence they need a DSL for writing templated html, which will be used for generating final html
Hence, it is completely natural for them to offer a custom DSL as html does not have standard way of expressing those concepts.
Since each js framework has its own idiosyncrasies and motivations, custom DSLs reflect it.
If you were to go around and make a new js framework, you too are going to create a new DSL