DEV Community

Discussion on: Rails to Introduce View Components

Collapse
 
omrisama profile image
Omri Gabay

I know that ReactRails/ReactOnRails do something similar where you define components that are rendered on the server through Ruby functions in the controller, but how cool would it be if this Component interface allowed you to specify React components? That way I could write React UI and access the view via a Prop or some sort of Context hook. Whoo!! I'm excited

Collapse
 
omrisama profile image
Omri Gabay

Xpost from the GitHub thread