JSFoo 2017

JSFoo is a conference about JavaScript and everything related.

Navin Pai

@lifeofnavin

Virtual DOM, Real Problems

Submitted Jun 15, 2017

Virtual DOM has become the primary method of abstracting the DOM. However, the lack of clarity in understanding how the virtual DOM actually works leads to multiple inefficient techniques used when coding applications which are meant to be performant at scale.

In this talk, we plan to talk about how the virtual DOM works, how is it different from Shadow DOM used by frameworks like Polymer (Hint: almost completely), What are the differences in Virtual DOM implementations in different popular frameworks (Psst... Virtual DOM is NOT a standard), how to performance test an app that massively uses virtual DOM manipulations at scale, and tips to ensure how to ensure you get the maximum value out of your virtual DOM implementation, no matter what framework you use underneath.

Outline

  • What is Virtual DOM (and why it is so cool!) - 3 mins
  • Differences between Virtual DOM models used by different frameworks - 5 mins
  • I use a Virtual DOM framework, but my app is so slow... Why? - 7 mins (includes 3 mins of performance testing interspersed)
  • Quick Tips to ensure you always get the most out of your virtual DOM implementation (2 mins)

Requirements

Basic understanding of the DOM. Experience with a framework which uses Virtual DOM is an added bonus, but not required.

Speaker bio

Navin Pai

Navin is a Full stack developer who goes about building cool stuff at Bloomreach Inc. He has worked with front end technologies for over a decade, from projects ranging from toy samples at hackathons to enterprise software with rigid requirements of performance. He has dabbled around with frameworks ranging from JQuery (which he loved back in the hey day), AngularJS (which he adored), React (which he dislikes), Vue (which is his new sweetheart) to Mithril (which he is hoping gains popularity). He is an open source contributer. In his free time, he enjoys talking about himself from a third person perspective.

Archana Rajkumar

Archana Rajkumar is a UI Developer working at Deloitte. She has over half a decade of experience working on all things frontend, and is known to bring terms like coffeescript, SASS, yaml and Rxjs into everyday conversations. She previously was at Dreamworks@Technicolor, where she wrote applications which are now used by studios across the world. She has worked through the trends identify the good from the bad (‘Javascript : The Good Parts’ would be written by her if not Doug Crockford). From VanillaJS to Angular to React, she firmly believes in using the right tool for the job.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more