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
All methods are compatible with babel-plugin-transform-imports except schedulers due to their renaming.
# index.js
export { asap as asapScheduler } from './internal/scheduler/asap';
export { async as asyncScheduler } from './internal/scheduler/async';
export { queue as queueScheduler } from './internal/scheduler/queue';
export { animationFrame as animationFrameScheduler } from './internal/scheduler/animationFrame';
babel-plugin-transform-imports allow some build/dev time improvements but require to keep the same name for reexported variables (or to use default) and that's the case for almost all exports.
Would it be possible in future version to avoid this renaming ?
The text was updated successfully, but these errors were encountered:
hlehmann
changed the title
Make shedulers compatible with babel-plugin-transform-imports
Make schedulers compatible with babel-plugin-transform-imports
May 10, 2020
Feature Request
All methods are compatible with
babel-plugin-transform-imports
except schedulers due to their renaming.babel-plugin-transform-imports
allow some build/dev time improvements but require to keep the same name for reexported variables (or to usedefault
) and that's the case for almost all exports.Would it be possible in future version to avoid this renaming ?
The text was updated successfully, but these errors were encountered: