javascript - changing props in react_component when using react_rails -


i using helper display datepicker component

      <%= react_component "mydatepicker", startdate: '', enddate: ''%> 

i want pass javascript values startdate , enddate props. possible way this?

i don't know you're trying here if want values of props component rails controller, following. can set state of props in react component , send ajax request whenever user selects date.


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -