d3.js’ component and update patterns easily allow for a more functional or Flux-like approach to visualisation rendering. Converting your render to a pure function of your model makes debugging much easier but often with an associated performance cost. Whilst this isn’t always noticeable in modern desktop browsers, it can be terminal on mobile or legacy browsers.
In this talk I’ll look at how immutable.js can be combined with d3.js to produce high performance visualisations, without compromising on your code’s structure
YOU MAY ALSO LIKE:
- Webpack Academy: From Beginner to Master with Sean Larkin (in London on 25th - 26th March 2019)
- Damjan Vujnovic's Reactive Programming Workshop (in London on 12th - 14th June 2019)
- Damjan Vujnovic's Angular Workshop (in London on 3rd - 5th July 2019)
- Infiniteconf 2019 - The conference on Big Data and AI (in London on 4th - 5th July 2019)
Immutable.js + d3.js = ?
I'm based in Newcastle upon Tyne and work as a Software Engineer at Scott Logic. I spend my days developing desktop/tablet/mobile web apps for financial services companies (unfortunately mostly hidden behind paywalls). I do like to blog about things when I can and am a core contributor to d3fc.