`formValueSelector` doesn't get the values if I go to the new page via changing URL

允我心安 提交于 2019-12-11 04:15:49

问题


I am using Redux-Form 7.3.0 and noticed that if go to other pages via changing the URL then if on the new page if I try to get values with formValueSelector it doesn't work - will be undefined. But if I go to the new page component via <Link to={'/blabla'}> (react-router-dom) it will be ok and I get the values. why?

来源:https://stackoverflow.com/questions/49601192/formvalueselector-doesnt-get-the-values-if-i-go-to-the-new-page-via-changing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!