All Projects → kentcdodds → cra-macro-example

kentcdodds / cra-macro-example

Licence: other
This is an example of how you can use Create React App with Babel Plugin Macros.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to cra-macro-example

react-intl.macro
Extract react-intl messages with babel-plugin-macros.
Stars: ✭ 39 (+2.63%)
Mutual labels:  create-react-app, babel-plugin-macros
react-hot-reload.macro
Zero configuration 🔥Hot Module Replacement🔥 using Babel macro
Stars: ✭ 31 (-18.42%)
Mutual labels:  create-react-app, babel-plugin-macros
craco-cesium
Let's use 🌍Cesium with create-react-app today!
Stars: ✭ 58 (+52.63%)
Mutual labels:  create-react-app
create-react-app-express
⚙️ Express server for your Create React App (Backbone of cra-universal)
Stars: ✭ 20 (-47.37%)
Mutual labels:  create-react-app
marvel-jarvig
Marvel JARVIG (Just A Rather Very Interesting Game) is a game that lets you find and discover Marvel Comics characters based on their name, image and description!
Stars: ✭ 13 (-65.79%)
Mutual labels:  create-react-app
create-material-ui-app
create-react-app + storybook + storybook-addon-material-ui
Stars: ✭ 55 (+44.74%)
Mutual labels:  create-react-app
adonisjs-create-react-app
Adonisjs + Create React App Boilerplate
Stars: ✭ 22 (-42.11%)
Mutual labels:  create-react-app
hotlist
今日热榜(前端)
Stars: ✭ 51 (+34.21%)
Mutual labels:  create-react-app
public-ol-web-template
OrangeLoops Web Project Boilerplate
Stars: ✭ 28 (-26.32%)
Mutual labels:  create-react-app
inside-client
Human Resources Department Tool. https://ifactory-solutions.github.io/inside-client/
Stars: ✭ 42 (+10.53%)
Mutual labels:  create-react-app
movies
🍿 react-app for movies
Stars: ✭ 60 (+57.89%)
Mutual labels:  create-react-app
ng-jwt-workshop
A repo to demonstrate JWT implemented with NodeJS and AngularJS. Must download locally to use fully...
Stars: ✭ 16 (-57.89%)
Mutual labels:  kcd-edu
cra-envs
⚙️ Bundle env var in CRA at launch time!
Stars: ✭ 45 (+18.42%)
Mutual labels:  create-react-app
node-less-chokidar
Watch and build CSS from LESS, compatible with Create React App
Stars: ✭ 21 (-44.74%)
Mutual labels:  create-react-app
netlify-forms-formik
📝 Netlify Forms with Formik and ReCaptcha
Stars: ✭ 33 (-13.16%)
Mutual labels:  create-react-app
hackerNews-pwa
hacker news pwa
Stars: ✭ 17 (-55.26%)
Mutual labels:  create-react-app
arnold
🎬 A modern Kodi web interface
Stars: ✭ 16 (-57.89%)
Mutual labels:  create-react-app
forex-web-app
💱 foreign currency exchange app built with react hooks
Stars: ✭ 17 (-55.26%)
Mutual labels:  create-react-app
ml-resources-react
A simple react app displaying resources to learn Machine learning.
Stars: ✭ 15 (-60.53%)
Mutual labels:  create-react-app
Itunes-Top-100-albums
Fetching data from itunes api With lazy Loading using react
Stars: ✭ 14 (-63.16%)
Mutual labels:  create-react-app

Create React App + Babel Plugin Macros

This is an example of how you can use Create React App with Babel Plugin Macros.

It demonstrates not only using one of the many published macros (specifically ms.macro), but also how to write and use your own with the evil.macro.js example.

It even works in codesandbox. (However, due to caching issues, modifying the macro itself on codesandbox is not currently working. Feel free to file an issue on codesandbox about this)

Learn how to get started writing your own macros.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].