Skip to content
Discussion options

You must be logged in to vote

Hey @pietz thanks for reaching out. There's multiple questions raised here so I'll do my best to answer each of these below.

The Tabs component uses a store to define its content. Why isn't the usage similar to the Accordion component?

Keep in mind we "dogfood" most of the components in the library within the Skeleton documentation. We've found a number of technical benefits to using writable stores for features that share state between parent/child components. Given Svelte Context API data flow is one way (down), using a store allows data to go upwards in the tree. This is the official way to handle this - per discussion with Svelte contributors such as Conduitry (the second highest co…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pietz
Comment options

@endigo9740
Comment options

Answer selected by pietz
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