We have a ref to a react component and want to call a method of this component. When using the ref it is a "ProxyComponent" object. How can I use it as my actual component or what to do to be able to do this. I saw, that there is the attribute "renderedElement" and inside the attribute "type" which is the correct type of my actual component. But I didnt find a way to use it like this/to call my components methods.
相关问题
- How to toggle on Order in ReactJS
- Refreshing page gives Cannot GET /page_url in reac
- Adding a timeout to a render function in ReactJS
- React Native Inline style for multiple Text in sin
- Issue with React.PropTypes.func.isRequired
相关文章
- Why would we use useEffect without a dependency ar
- Is it possible to get ref of props.children?
- Stateless function components cannot be given refs
- React testing library: Test attribute / prop
- React/JestJS/Enzyme: How to test for ref function?
- Material-UI [v0.x] RaisedButton on hover styles
- Remove expo from react native
- ReactJS toLowerCase is not a function