Logo Awesome React

Awesome React

All about macros with babel-plugin-macros 🎣

  • Details
Babel plugins are useful for syntax, but also for custom transformations to improve developer experience in a codebase. Unfortunately people tend to avoid too many custom plugins because it takes too much effort and often leads to confusing transformations.

There's a new custom plugin that simplifies things for both users and creators of custom babel transforms. It's called babel-plugin-macros. In this talk we'll look at what a macros means in the context of this plugin and how you can easily install and use macros as well as create your own.

Meetup: https://www.meetup.com/ReactJS-Utah/events/246683120/
Slides: http://kcd.im/macros-slides