Currently I am working on a new page(functional component) that needs access to data from another page(class component).The data is store in the Redux store since I can display it with store.getState() in the class component. How would I access that data from the functional component?
There are several options.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.