E
E
evgeniy20242022-03-02 16:14:54
React
evgeniy2024, 2022-03-02 16:14:54

How to filter by price?

Hello everyone, I'm trying to make the filter of products by price work correctly. I decided to use nouislider to build this entire system, although as I understand it, you can use the usual input
. When the slider changes, a request is made to the database, and there it already searches for the price of goods in the specified range using between, that is, filtering occurs when the slider position is changed, but the problem the fact that everything happens so slowly and I'm scared to imagine what will happen if there are conditionally dofiga goods), if we consider the operation of the ozon price filter, then everything works like a clear sun, can you please explain how to implement this task correctly

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question