charlie-yao / react-aria-widgets

Implementations of WAI-ARIA widgets and design patterns in React.
MIT License
2 stars 0 forks source link

Accordion render function that provides methods and state information? #149

Closed charlie-yao closed 1 year ago

charlie-yao commented 1 year ago

Does it make sense to allow render functions as children that would expose Accordion methods/state? Accordion context consumers are already exported as custom hooks, but a render function might be more convenient. Might also be worth reviewing the finer details of rendering behavior to see if one of these options has any performance advantages, though this might be a premature optimization.