notes
notes copied to clipboard
🧠Ideas/Issues dump
From https://twitter.com/left_pad/status/1177371889477533698?s=20
- Confusion around Babel 7 + monorepo setup, maybe just need to add examples (as Babel itself is a monorepo)
- JSX changes
- Port to TS
- Redo State API, files/options
- Async Visitors (or just pause/resume traversal since synchronous)
- Think of some GitHub Actions ideas for contributions?
- Add to our FAQ?
- need to figure out how to better maintain babel/proposals..
- maybe better integrate babel-macros ideas into core (explicit imports vs. global scope for syntax)
- Jason's un-transpiler https://twitter.com/_developit/status/1179845100270170112?s=20 integration
- stage 0/1 versioning.. https://twitter.com/maybekatz/status/1179866259292217344?s=20
test262: create our own website that uses whitelist to showcase our caveats/won'tfix/unsupported features
- Figure out nested traverse ordering
- Plugins running on class fields have trouble because they are always first transformed by
@babel/plugin-proposal-class-propertieswhich visitsClassand notClassProperty path.traverseshould "delegate to the outer traversal", rather than having higher precedence
- Plugins running on class fields have trouble because they are always first transformed by
- JSON schema for autocompletions in
babel.config.json
- https://github.com/babel/babel/issues/5854, Plugin ordering but also just built-in "capabilities" support for plugins to use/query from. Ideally a lot of options should be automatically enabled/disabled based on things like what is running Babel (node/webpack/etc), and what is the supported output (environment/browsers) vs having to use preset-env itself?
Babel test fixtures viewer: Read input.js and output.json, render them in a two column view like https://astexplorer.net/. Good to check whether the loc is correct,type is correct or if it is parsed as wrong AST node.