News for hackers. Stuff that matters.
Re:Our long term plan to make GitLab as fast as possible wit... by rk06 on Thursday February 09, 2017 @10:38PM (#13613036)
>you just use naive two-way binding with an actual decimal value this means you'll get in the way of the user trying to manually enter a decimal value

Naive one way binding is useless as well.

>two-way binding of the actual form fields becomes an implementation detail.

Kinda. In fact in Vue two-binding is a syntax sugar for one way binding and on change events.

The difference between them, is one requires less lines of code and is less powerful.

If you do need react-style form input, then you can do it that way.

There are no comments on this comment yet.