Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing Pure.js vs vash, the Slant community recommends vash for most people. In the question“What are the best JavaScript templating engines?” vash is ranked 25th while Pure.js is ranked 28th.
Ranked in these QuestionsQuestion Ranking
Common Questions
Pros
Pro Automatically extends JavaScript libraries available
If a Javascript library is available in the page when it's loaded, Pure will automatically extend it to use it inside the templates.
Pro Plays well with handlebars
Pro Minimal syntax
Pro Helper system
Pro Intelligent code inlining
Vash knows JS. https://github.com/kirbysayshi/vash#advanced-expressions
Pro Full power of JS
Cons
Con Injection not explicit in template
Looking at the template, we cannot see where content will be injected. Instead, all we see are empty tags.
Con Not enough separation
The controller knows too much about the template.
Con Not many reasources outside the official documentation
PureJS is not very popular and it's not used by many. Because of this, there are not many guides or tutorials out there for Pure.js other than the official documentation.
No cons yet!