Is there any help online documentation for mapcomponents react js ?
Can you post the entire code for your component? Since you are using React 19 and if this is a new app, I’d recommend not using the calcite-components-react wrapper.
If you have a github repo, can take a look, but our samples don't use the react wrappers
https://github.com/Esri/jsapi-resources/tree/main/component-samples/map-and-charts-components-react
I tried everything with no luck
I'm thinking it should be mapRef.current instead of just mapRef.
I created a separate component ActionBar.tsx , Which includes, Layers, Legend and basemap Gallerty
If you're asking how to embed the new SDK components in a React component, the official docs go over how to render them and pass in data to their attributes. Once you hit a wall you can post about the specific component/attribute issue you're having and get focused help from there.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.