How to pass an external method to a stateless functional component in React

Posted by Jessica Taylor | Updated on

Want to pass an external method to a stateless functional component in React You need to pass in a function. You are actually executing the FlowRouter.go function by calling FlowRouter.go(“Register”).


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers