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.
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.