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
Hello, I had a question about the recommended way to use the logger with the reactCompilerPreset-preset.
Since reactCompilerPreset doesn’t currently expose the logger, it seems that the only option is to add babel-plugin-react-compiler again as a separate plugin.
Is that the recommended approach, or would it be better to skip the reactCompilerPreset entirely and only use the babel-plugin-react-compiler plugin when the loggers is used?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I had a question about the recommended way to use the logger with the
reactCompilerPreset-preset.Since
reactCompilerPresetdoesn’t currently expose the logger, it seems that the only option is to addbabel-plugin-react-compileragain as a separate plugin.Is that the recommended approach, or would it be better to skip the
reactCompilerPresetentirely and only use thebabel-plugin-react-compilerplugin when the loggers is used?Example config
Cheers
Beta Was this translation helpful? Give feedback.
All reactions