Q&A: Tag Template Literal

In notebook:
FrontEndMasters Networking and Streams
Created at:
libraries JavaScript

The yo-yo template, does it call innerhtml?

It does several things:

  • Tag template literals

So first, it (the template literal) kicks off the parser. It's uses then morphdom which is like virtualDOM but uses the real DOM. It does diffing with the real DOM.

It also sets up all the event listeners.

##Choo framework

His preferred framework. Or the bel framework which is very similar.

He created yo-yo beceause he found that react was too configuration heavy. Then people started expanding it. In some cases, the speed is comparable to virtualDOM.

And some other people took this further.

He predicts, that as browsers get even more features, we will have even more stuff to learn... But it's going to be fun! :)