Wednesday 11 a.m.–11:45 a.m.
Confident web development with React
Julien Phalip
Audience level:
- Intermediate
Description
React has recently seen wide and rapid success thanks to its performance qualities and predictable development workflow. This talk will present how React & Django can be combined to build powerful, easier-to-maintain web applications with confidence. React's main concepts and several advanced topics such as server-side rendering, universal javascript and production environments will be covered.
Abstract
React has become increasingly popular over the past year and is already used in large-scale products and companies such as Facebook, Instagram, Khan Academy, Hipchat and Netflix. This rapid success can in part be explained by React's performance qualities as well as its clean, predictable development workflow. React's learning curve is also fairly short despite it introducing a pretty radically different way of approaching front-end web development. Overall, React tends to greatly appeal to Django developers as both tools share the same philosophies of elegance and practicality.
React can benefit all types of web applications, from single-page apps to more conventional websites and can easily be introduced to complement existing web architectures. While React is Javascript-based and is primarily a client-side presentation tool, it remains agnostic about the rest of the stack and works really well with backend technologies like Django.
In this talk I will present how React and Django can work together to build powerful, easier-to-maintain web applications with confidence. I will start with a brief introduction of React's key concepts: the Flux architecture, the virtual DOM, JSX and the React component life-cycle. I will then explain how React can integrate with Django-powered backends and discuss some advanced topics such as server-side rendering, universal javascript, testing, production environments and integration with asset pipelines. Numerous code samples will illustrate the various concepts presented. By the end of this talk, members of the audience who are unfamiliar with React will have a good grasp of its functioning and of its benefits; those already familiar with React will also have learned several useful tips applicable to their Django projects.