QwikDev / qwik

Instant-loading web apps, without effort
https://qwik.dev
MIT License
20.87k stars 1.31k forks source link

feat(optimizer): handle non-static destructuring keys #6846

Open wmertens opened 2 months ago

wmertens commented 2 months ago

This adds a failing test currently, because it is a bit more work than I thought to fix.

The destructuring code needs to support all sorts of expressions, and for that a bunch of match blocks and return types and handling need adjusting.

Fixes #6819

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: 6b83709fd1a7f4ec87d303159c21b0863171e3d0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR