title: How to implement filters without page reload in a Rails application?
body: <p>I’m trying to implement a filter feature in my Rails application and I need recommendation / ideas on how to do it.</p>
  
  <p>I would like to be able to  filter results and display them on the same page (like would do travel websites : skyscanner, liligo, etc). 
  When you tick a box on these sites the results are getting updated right away.</p>
  
  <p>This is how the page would look like : Results page</p>
  
  <p><a href="https://i.stack.imgur.com/nUfHn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nUfHn.png" alt="Results page"></a></p>
  
  <p>My initial idea was to add Eventlisteners to every boxes and use get request to fetch data from my api. Each time a box is ticked it would trigger a request with every parameters that the user selected. And then it would insert the results in the div beside it.
  But it feels really messy to do something like that. </p>
  
  <p>What could be a better option ?</p>
  
  <p>I’ve seen that most of these sites uses React to do that. Is it of a great help to handle this kind of feature ?</p>