[英]React JS convert function to class (data from another file)
我正在尝试将 reactjs 函数转换为类。 我已经从商店导入了对象,但即使我没有任何错误,它也不会呈现。 有人可以帮我吗?
我认为您必须在类组件上使用 redux 才能使用产品。 或者您可以从父组件发送的道具中获取产品。 我希望它对你有用。 问候。
[英]convert from class to function react js
[英]Call JS function from another file in React?
[英]Export a function from another js file in React
[英]access a js function/class from another file
[英]get data from async function to another function React JS
[英]How to refer to another class from a function in React JS?
[英]Call a function from another class component in React.js
[英]Convert Arrow Function to Class in React.js
[英]onClick to call function from another JS file with react
[英]How to actually initiate a function from another file in React.js
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.