Skip to content

Move filtering out of component #34

@soanvig

Description

@soanvig

Hey. I came across your component.

I want to have list of items rendered via API, based on text input. To do that, I need to know filter in text input.

Your component doesn't lift this data up.

I'm just wondering, wouldn't it better to let user decide if he wants filtering, and let him implement that? It shouldn't be component's responsibility in my opinion.

You could just remove filter option, and lift up filter input text change.

Basic filtering is really easy to implement (it is also really low code cost), yet you won't be limiting user of your component.

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