React: Building Modern Web Applications
by Jonathan Hayward, Artemij Fedosejev, Narayan Prusty, Adam Horton, Ryan Vice, Ethan Holmes, Tom Bray
Classical Hijaxing works well
As we open the class, one member is conspicuous by its absence—mixins: [React.addons.LinkedStateMixin]. This member was featured heavily in our previous chapter where we had two-way data binding between form fields, for which we specified the HTML field/JSX component's value and this complementary implementation where the form is not controlled (value not being specified). Here, form elements are queried in the old-fashioned way as they are needed. While ReactJS strongly believes that one-way data binding should be the norm, two-way data binding can be legitimate, preferably in a small and quarantined area. This chapter and the previous ones are intended to provide working examples of two slightly different approaches ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access