notes icon indicating copy to clipboard operation
notes copied to clipboard

🧠 Ideas/Issues dump

Open hzoo opened this issue 6 years ago • 3 comments

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

hzoo avatar Oct 05 '19 04:10 hzoo

  • Figure out nested traverse ordering
    • Plugins running on class fields have trouble because they are always first transformed by @babel/plugin-proposal-class-properties which visits Class and not ClassProperty
    • path.traverse should "delegate to the outer traversal", rather than having higher precedence
  • JSON schema for autocompletions in babel.config.json

nicolo-ribaudo avatar Oct 06 '19 10:10 nicolo-ribaudo

  • 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?

hzoo avatar Oct 29 '19 20:10 hzoo

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.

JLHwung avatar Nov 09 '19 19:11 JLHwung