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