Skip to content

Field Components Implementation in React-Spectrum and RAC Starter kits #6236

Answered by reidbarber
alexasselin008 asked this question in Q&A
Discussion options

You must be logged in to vote

RAC was built after React Spectrum, so I would recommend following the patterns there more closely. I think one reason it wasn't a child is because some of the field components are collections (like React Spectrum's ComboBox), so they wouldn't be able to accept non-collection-item children. I don't think this would be an issue with RAC since the collections would be inside other wrappers like ListBox. I think you should definitely proceed with the first pattern since you're building on top of RAC.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alexasselin008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants