You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put the code from above inside editable code block
See runtime error
Expected behavior
It works as that code works on react-live demo page.
Actual Behavior
throws a runtime error in the live editor
CompileError: Transforming async functions is not implemented. Use `transforms: { asyncAwait: false }` to skip transformation and disable this error. (2:2)
1 : return (function Clock(props) {
2 : async function test() {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@kitten hi, do you think we should still use your buble fork (seems it is not updated, but optimize for bundle size) or maybe use latest from main repo?
Also, I'm not sure to understand how you react-live demo supports async await, I don't see the asyncAwait: false in the Bublé transforms
🐛 Bug Report
This code put in the live editor
throws a runtime error in the live editor, but that doesn't happen on react-live demo page
Have you read the Contributing Guidelines on issues?
yep
To Reproduce
Expected behavior
It works as that code works on react-live demo page.
Actual Behavior
throws a runtime error in the live editor
Your Environment
or the same you have on your documentation site.
Reproducible Demo
https://github.com/facebook/docusaurus/tree/master/website
The text was updated successfully, but these errors were encountered: