dillon1000/react

Commit

Support ObjectPattern within RestElement

Supports ObjectPattern within RestElement, the `...{y}` in `const [x, ...{y}] = 
z`
Browse files
Changed paths3 files
First-parent comparison
M compiler/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts ModifiedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/destructuring-object-pattern-within-rest.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/destructuring-object-pattern-within-rest.js Added
Patch

Files changed

Rendering syntax-highlighted changes…