-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SelectField] Fix options with object value due to non-unique {#each} keys #425
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 5d76661 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Deploying svelte-ux with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@techniq sorry I didn't reply to your questions a few weeks back. I'm on parental leave now.
Your solution is a bit cleaner than mine. I'm fine with it. I think JSON.stringify is quite fast.
Though, personally I think I'd still choose mine. I'm using short lists of medium sized objects and long lists of small objects. But there's nothing preventing someone from using long lists of large objects and then this could add a bit of unnecessary lag.
First, congrats on the parental leave, and you're doing it wrong if you're responding to Github PRs :). I hope baby and mommy are doing good. I agree on the performance on large lists might be measurable, and we'll address that if needed. I was concerned there might be cases where labels are not unique, and while groups might be leveraged, there is no guarantee. You can also attach additional properties to a menu option so I've also exposed a Anyways, I'm going to ship this approach for now, but will keep an eye on performance regressions. |
No description provided.