Need advice about which tool to choose?Ask the StackShare community!

Pug

1.2K
1.2K
+ 1
467
RactiveJS

20
26
+ 1
21
Add tool

Pug vs RactiveJS: What are the differences?

Developers describe Pug as "Robust, elegant, feature rich template engine for nodejs". This project was formerly known as "Jade." Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers. On the other hand, RactiveJS is detailed as "Next-generation DOM manipulation". Ractive was originally created at theguardian.com to produce news applications. Ractive takes your Mustache templates and transforms them into a lightweight representation of the DOM – then when your data changes, it intelligently updates the real DOM.

Pug and RactiveJS can be categorized as "Templating Languages & Extensions" tools.

"Elegant html" is the primary reason why developers consider Pug over the competitors, whereas "Lightweight" was stated as the key factor in picking RactiveJS.

Pug and RactiveJS are both open source tools. Pug with 18.4K GitHub stars and 1.9K forks on GitHub appears to be more popular than RactiveJS with 5.67K GitHub stars and 440 GitHub forks.

Coursera, Key Location, and Sellsuki are some of the popular companies that use Pug, whereas RactiveJS is used by Teleport, LeVego, and Record Bird. Pug has a broader approval, being mentioned in 174 company stacks & 119 developers stacks; compared to RactiveJS, which is listed in 5 company stacks and 8 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Pug
Pros of RactiveJS
  • 138
    Elegant html
  • 90
    Great with nodejs
  • 59
    Open source
  • 59
    Very short syntax
  • 54
    Structured with indentation
  • 25
    Free
  • 6
    Really similar to Slim (from Ruby fame)
  • 6
    It's not HAML
  • 6
    Gulp
  • 5
    Clean syntax
  • 5
    Readable code
  • 5
    Easy setup
  • 5
    Difficult For Front End Developers,learn backend
  • 4
    Disdain for angled brackets
  • 8
    Lightweight
  • 5
    Virtual Dom
  • 4
    Easy one page app templating of data
  • 2
    Data-binding
  • 2
    Components

Sign up to add or upvote prosMake informed product decisions

- No public GitHub repository available -

What is Pug?

This project was formerly known as "Jade." Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers.

What is RactiveJS?

Ractive was originally created at theguardian.com to produce news applications. Ractive takes your Mustache templates and transforms them into a lightweight representation of the DOM – then when your data changes, it intelligently updates the real DOM.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Pug?
What companies use RactiveJS?
See which teams inside your own company are using Pug or RactiveJS.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Pug?
What tools integrate with RactiveJS?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Jun 19 2015 at 6:37AM

ReadMe.io

JavaScriptGitHubNode.js+25
12
2388
What are some alternatives to Pug and RactiveJS?
EJS
It is a simple templating language that lets you generate HTML markup with plain JavaScript. No religiousness about how to organize things. No reinvention of iteration and control-flow. It's just plain JavaScript.
Handlebars.js
Handlebars.js is an extension to the Mustache templating language created by Chris Wanstrath. Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
See all alternatives