Nitrogen allows you to replace elements on the client
page. When you click on the 'Replace' button, the page will
use wf:replace(mainPanel, Message) to replace the
contents of the panel.
Unlike wf:update/2 (which replaces just the inner
contents of an element), the replace/2 function
replaces the entire DOM element.
Released under the MIT License.