I have a URL that I am returning Json data, that is need to pass as a parameter to react component, that component is: https://rsuitejs.com/components/multi-cascader
and here is my code:
fetch('http://ABCServer/LabMag/Home/GetCategories')
.then(response => response.json())
.then(json => console.log(json));
ReactDOM.render(
Cascade:
Not cascaded:
, document.getElementById('root'));
Top comments (0)