Last time we looked at how to use properties, to affect the initial rendering of components. Today we’ll take a look at how to use state, how it differs from properties and some things you should consider when using state.
Last time we looked at how to use React to render views in combination with the Backbone router. Today we’ll see how to build the latest React version and load both React and Backbone using RequireJS.
Components are the smallest, yet most fundamental part of React. They’re similar, in concepts, to things like widgets and modules. React defines itself as a library for building user interfaces. As such, when you think of a user interface you want to build (with React), you need to think of it in…
Last time we looked at how to use Backbone’s router to conditionally display different React components. Today we’ll look at how to display Backbone collections and models in a React component.
Last time we looked at how to use state to control the rendering and behaviour of components. Today we’ll take a look at how to use React with Backbone’s router.
Backbone is great for organising your application, but React is much cooler than Backbone’s View…
Last time we looked at components, which are the building blocks of any React-powered interface. Today we will continue to explore them, with a focus on how to customise them.
There are a few ways in which React components can be customised, but we’re going pay particular…