instatype
instatype copied to clipboard
Pass data as prop
We currently pass data to the instatype component by calling callback(data)
within requestHandler()
. It would be better if we passed data as a prop to instatype: <Instatype data={data} requestHandler={myRequestHandler} selectedHandler={mySelectedHandler}/>