Skip to content

Instantly share code, notes, and snippets.

Avatar
💫
Implementing tiny, easy and powerful things

Aral Roca Gomez aralroca

💫
Implementing tiny, easy and powerful things
View GitHub Profile
@gaearon
gaearon / prepack-gentle-intro-1.md
Last active Dec 7, 2021
A Gentle Introduction to Prepack, Part 1
View prepack-gentle-intro-1.md

Note:

When this guide is more complete, the plan is to move it into Prepack documentation.
For now I put it out as a gist to gather initial feedback.

A Gentle Introduction to Prepack (Part 1)

If you're building JavaScript apps, you might already be familiar with some tools that compile JavaScript code to equivalent JavaScript code:

  • Babel lets you use newer JavaScript language features, and outputs equivalent code that targets older JavaScript engines.
@RadoMark
RadoMark / usage.html
Last active Dec 26, 2019
Watchers toggler directive
View usage.html
<div ng-app>
<div ng-controller="TestCtrl">
<ul ng-repeat="elements in array" watchers-toggler="toggler()">
<li ng-repeat="element in elements">{{element}}</li>
</ul>
</div>
</div>