I've been trying to work my way around this matter for a long time now and it seems I can't find a solution.
For a couple of circumstances the project I'm working with can't use React-Router on Rails, but I heard there's a way to switch between components with the State Method. Is it true?
In this Ruby on Rails app we work with one parent component and inside of it a lot of const components. The thing is, I have three buttons that the user needs to click, and when it does, a content block must change.
Any ideas?