Now that you've taken a look at the raw DOM interface to SVG, it's time to look at the interface between SVG and some of the more common JavaScript libraries and frameworks. Taking the lessons learned from Chapter 6, JavaScript and SVG, we'll look at some of the quirks present in getting SVG to work properly with jQuery, AngularJS (1.*), Angular (2+), and ReactJS. These examples will not be very deep, but should all illustrate the basic issues present in working with SVG and these other codebases. The goal here won't be to introduce you fully to these libraries and frameworks. There will be just enough of an introduction to get you up and running, and then each section will deal with the specifics of that library, or framework and SVG.
In this chapter, we will cover:
- Working with the ever-popular jQuery library...