Skip to content

Use [local, others] instead of [, rest] in splitProps statements #190

@jesseb34r

Description

@jesseb34r

@stefan-karger mentioned on discord that splitProps statements should be switched to use a [local, others] pattern to be consistent with how the [solid docs](https://docs.solidjs.com/reference/reactive-utilities/split-props] do it. I am unfamiliar with the full code base architecture here, but as best as I can tell the component code is in apps/docs/src/registry/ui/ so I grepped for the pattern there and found that the Dialog, Drawer, Dropdown Menu, and Resizable components all still use the [, rest] pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions