Use JS interface for Searches
Issue #152
new
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:
- initial results would be loaded from the server and included in the page using PHP-printed JSON;
- that initial payload would be loaded in the interface through React/Redux/Vue components;
- 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.