Use JS interface for Searches

Issue #152 new
Igor Santos created an issue

Instead of using server-side rendering for search - what would mean reloads every time the user changes a filter -, we can leverage a JS View library to make that experience more fluid:

  1. initial results would be loaded from the server and included in the page using PHP-printed JSON;
  2. that initial payload would be loaded in the interface through React/Redux/Vue components;
  3. changes in the filters would be initially handled by the JS components, while a request to the Search API is made and the final results are displayed: this way we have perceived fast speed, filtering only the first results, while the server gives us the complete results and they're re-rendered.

Comments (0)

  1. Log in to comment