This repository has been archived by the owner. It is now read-only.
Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 898 Bytes
title description layout weight
Progressive Enhancement
guide
200

Progressive Enhancement

Progressive enhancement{sp} is a feature that is very important for a lot of people. Knowing about this, {sp}Metal.js is prepared to deal with content that already comes rendered from the server. Since Metal.js components use {sp}Incremental DOM by default, rendering on an element with existing content will reuse it instead of repainting everything.

It's important to note that building components with Soy also helps with progressive enhancement in another way: by providing a faithful template that can be run by the server without having to duplicate the rendering code or run JavaScript at all.