Chapter 6Work Well with Others

You’ve seen how to build all-in-one applications, but there’s other code out there, as well as developers who don’t use React. You’ll learn how to publish your code so that other developers can use it as a standalone library without knowing React. Then you’ll solve the reverse problem: how to integrate JavaScript code that directly modifies the DOM with React components. Finally, you’ll look at the data layer of your application. You’ve seen how to use setState and Redux, but another popular technique uses special objects designed to emit events when their contents change. We’re going to look at the Backbone.js library and how we can build a React interface on top of existing Backbone models, while keeping the ...

Get React for Real now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.