reactjs - React transition group - reload same component but swap contents after exit -


so, i've got csstransitiongroup around router switch, has route containing component currentproject inside (among couple others).

the transitions working fine, switch. however, if route changed 1 matching currentproject matching currentproject (i.e, different project), enter/exit transition , new project loaded around same time, can see title , content swap on during transition.

is there way react-transition-group 'exit' transition, wait content load, then 'enter' transition?

are putting location={history.location} param switch tag? necessary holding content in leaving component...


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -