Last active
October 13, 2020 13:33
-
-
Save tannerlinsley/1fcb7fa2886cc5c1e9493edfaf9f76d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Source | |
const MyCompSource = '' | |
// @source MyCompSource | |
const MyComp = ( | |
<div> | |
Hello there! | |
</div> | |
) | |
// @endSource | |
// ======================================= | |
// Transpiled | |
const MyCompSource = `const MyComp = ( | |
<div> | |
Hello there! | |
</div> | |
)` | |
const MyComp = ( | |
<div> | |
Hello there! | |
</div> | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you please exlain a bit what this is for?
Like what experiment can I do with that to enlighten myself ?