Skip to content
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

Suggestions #636

Open
MattPurland opened this issue Oct 13, 2023 · 0 comments
Open

Suggestions #636

MattPurland opened this issue Oct 13, 2023 · 0 comments

Comments

@MattPurland
Copy link

  1. Export the bound "list" variable, as you have with "container"
  2. Extract the "list-item" markup into it's own component. This means should the user create their own "list" slot, they can use your "list-item" component
  3. Following from point 2, could all functions/actions used by the "list-item" be extracted into their own javascript file so the user can import them should they want to create their own "list-item" via the slot. This is probably quite the rewrite, though.

I probably have others, but I'm only now migrating from v4 and this is what I'm finding so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant