-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support fragments in collections #6430
Conversation
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.
Thanks for the PR, we'll need tests for this.
Something to look out for is caching of entire children of the fragment when they would each be individually cached if not in a fragment.
Another is making sure that mixed structures like these work
<Parent>
<Item></Item>
<>
<Item></Item>
</>
</Parent>
<Parent>
<>
<Item></Item>
<Item></Item>
</>
</Parent>
7731fa0
to
1bfbc8b
Compare
1bfbc8b
to
2a61762
Compare
@snowystinger - Rob, thank you for the review, and sorry for the delay in addressing the feedback. I've included tests, and revised the implementation a little which I think should address the use of the cache. Happy to address any further feedback. |
No worries, this looks reasonable. We'll get someone else to review it after our next release. Hopefully next week. Thanks @solimant ! |
8cb1a5d
to
3013156
Compare
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.
LGTM
Co-authored-by: Reid Barber <reid@reidbarber.com> Co-authored-by: Robert Snow <rsnow@adobe.com>
* Update Picker placeholder to be shorter (#6796) * feat: Support fragments in collections (#6430) Co-authored-by: Reid Barber <reid@reidbarber.com> Co-authored-by: Robert Snow <rsnow@adobe.com> * Exposing prop disabledBehavior to TableView (#6832) * fix/bug useTablist #5996 (#6023) * fix/bug useTabist #5996 and added tests * Extract `ToggleStateProps` type to use only what is needed in `useToggleState` (#3836) * Extract `ToggleStateProps` type to use only what is needed in `useToggleState` --------- Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: solimant <solimant@users.noreply.github.com> Co-authored-by: Kyle Taborski <ktabors@yahoo.com> Co-authored-by: Medhashis Maiti <129734281+mdhmaiti@users.noreply.github.com> Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Closes
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project: