Skip to content
Stupid Template Tricks: DIY React Using Mustache
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Stupid Template Tricks: DIY React Using Mustache

Fancy using new React-style virtual DOM techniques but unwilling to part ways with the minimalism of Mustache?

Why not build your own React, using vanilla Mustache.js and duct tape!

And yes, this technique has been deployed to production (in a different codebase, circa 2013, at a past gig).

Sample Code

npm install -g beefy
npm install
beefy index.js # ... then visit http://localhost:9966
You can’t perform that action at this time.