reactjs - React: How to pass down context to a component generated on runtime -
i trying use modal android mkonicek's gist https://gist.github.com/mkonicek/1a8bd7253e3257687228, seems show modal properly, seems crash when child component accepts context.
i'm assuming reason displayed component modal not rendered using render method not pass context information down.
anyone knows how pass down context down rendered component inside _createmodal https://gist.github.com/mkonicek/1a8bd7253e3257687228#file-modal-js-l90 function ?
thanks help!
nevermind found way using contextwrapper found solution reactrouter https://github.com/rackt/react-router/issues/982
Comments
Post a Comment