4 ms·
You can use JSX with Vue but you miss out on some of the template features. Two way binding is one I think but there's add-ons that write the boiler plate for t
by seanwilson 8y ago
You can use JSX with Vue but you miss out on some of the template features. Two way binding is one I think but there's add-ons that write the boiler plate for that for you. Either way, it feels uncomfortable working with Vue in a less standard way in the event you run into problems.
JSX + Vue + TypeScript is pretty nice.
HTML templates + Vue + TypeScript is not so nice because you get lots of bugs coming from the untyped templates.
- toastal 8y agoTwo-way binding isn't so much a 'feature' so much as it is the bug that caused the front-end framework churn to finally steady as frameworks migrated to a more predictable model of one-way binding.
- seanwilson 8y agoVue is much more limited in the way it uses two way bindings compared to Angular v1 which you're probably referring to i.e. between form input elements and data, not between components.
- kangoo1707 8y agoOutside Angular, I have never heard about two way binding as a source of bug