I can't seem to recall about passing in a proc as a param for a component in react.rb, can someone remind me?
Sorry if my question is badly worded, I'm a little tired.
I can't seem to recall about passing in a proc as a param for a component in react.rb, can someone remind me?
Sorry if my question is badly worded, I'm a little tired.
Copyright © 2021 Jogjafile Inc.
Sure checkout http://reactrb.org/docs/reusable-components.html (about half way down the page) or http://reactrb.org/docs/component-api.html
Here is a working example