I want to send Task_id to the ShowRecommendation.js component
recommend = Task_id => {
this.props.history.push("/ShowRecommendation");
};
How it can be done?
I want to send Task_id to the ShowRecommendation.js component
recommend = Task_id => {
this.props.history.push("/ShowRecommendation");
};
How it can be done?
With react-router you can transfer "state"
and at the ShowRecommendation.js componenet you can get the value using
Comment if you have more questions