Open chiragt-thirdrock opened 1 year ago
The element property values are available but only deeply nested on the object returned to the React function now.
Example:
// Usage
<react-integration id="react" innerText="Settings"></react-integration>
// Component
export const ReactIntegration = (props) => {
return (
<Button>
{props.root._internalRoot.containerInfo.attributes.getNamedItem("innerText").value}
</Button>
)
};
Hello devs,
I am facing weird issue when using react-in-angularjs in my angular 1 project.
here i am sharing code snippet to get it understand.
reactComponent.js
index.html
<todo-list id="react-app"> </todo-list>
Let me know if anybody have solution of this.