babel / notes

♬ Notes from the @Babel Team (discuss in PRs)
https://github.com/babel/notes#meetings
122 stars 16 forks source link

Create june-21.md #23

Closed hzoo closed 7 years ago

nathanhammond commented 7 years ago

I've added the notes as they were during the meeting, still need to clean them up for clarity.

sarupbanskota commented 7 years ago

there's also https://github.com/babel/babel/issues/5878 related to plugin ordering

peey commented 7 years ago

I don't have write access. Some minor edits:

### Inline Parameters

- https://github.com/babel/babel/pull/5751 by @peey
- Moves the parameters into the function body so that the normal rest spread can be reused.
- Not a separate visitor, instead it's a method on the path object `fnPath.inlineParameters()`
- Object Rest Spread had bugs because logic was duplicated in paramters transform.
- Counts as a refactor of Henry's code.
- Request of additional documentation.
- Handles default parameters (including spread), rest, ObjectPattern and ArrayPattern