HackerNoon.com
Published in

HackerNoon.com

Why is Marko Fast?

Multiple Compilation Outputs

Compiled for the server

Compiled for the browser

Modular Runtime

High performance server-side rendering

  • First pass to produce an entire virtual DOM tree in memory
  • Second pass to serialize the virtual DOM tree to an HTML string that can then be sent over the wire (this requires traversing the entire tree structure)

Compile-time optimization of static sub-trees

Compile-time optimization of static attributes

Smart compiler

Event delegation

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store