Re:Comparing Svelte and React
by steinuil on Thursday March 25, 2021 @06:05AM
(#26578280)
Yeah, but it's still a DSL and that means that I can't be sure that everything I can normally do in JS is valid there, and external tooling won't be able to make sense of it without additional work.
[ Parent
| on HN ]
Re:Comparing Svelte and React
by ricardobeat on Saturday March 27, 2021 @05:08AM
(#26601025)
Those sounds like very abstract concerns - I haven't had any issues on those lines using Svelte for years now. The $: syntax is actually valid JS (labels) so standard JS tooling should always be able to parse it.