question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Finding available macros

See original GitHub issue

Hey I was thinking it might be useful to keep a list of available macros out in the wild in this repo?

I’ve just published support for babel-macros in babel-plugin-console.

I know the infamous babel-plugin-preval supports macros.

Any others?

I’m happy to send a PR documenting the list of existing macros 😄

Also I’ve created the following badge to celebrate this package 🎉

Babel Macro

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vinhlhcommented, Jul 27, 2017

Supported babel-macros to my tiny package https://github.com/vinhlh/tagged-translations.

I love babel-macros idea. babel-macros also helps my code looks naturally, without having a global reference to t.

import t from 'tagged-translations/macro';

const HelloComponent = ({ name }) => (
  <div>
    {t`Hello ${name}`}
  </div>
)

looking forward to being integrated into create-react-app 🎉🎉🎉

P/S: btw, I am looking for a right solution to set options for macro (may be somewhere in app scope).

0reactions
kentcdoddscommented, Aug 14, 2017

No worries. If you wanna make it up to me, you could look at #20 or #22 😉

Not that you owe me 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable or disable macros in Microsoft 365 files
Click the File tab. · Click Options. · Click Trust Center, and then click Trust Center Settings. · In the Trust Center, click...
Read more >
Use this weight loss calculator to count your to macros, lose fat
Here, you'll find your macros and weight loss calculator cheat sheet with everything you need to know about macros, including:.
Read more >
Where is Macro in Microsoft Excel 2007, 2010, 2013, 2016 ...
Open Excel 2007/2010/2013; go to View tab, click it and you will find the function Macros arranged in the Macros group. Click the...
Read more >
How To Use Macros You Find Online In 6 Easy Steps
How To Use Macros You Find Online In 6 Easy Steps · Step 1: Enable Developer Tab · Step 2: Open The Visual...
Read more >
Find Your Macros on the App Store
This app is available only on the App Store for iPhone. Find Your Macros 12+. Quick Macro Finder by FDL.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found