A tiny wrapper for react-leaflets Marker component that allows you to use a React component as a marker, with working state, handlers, and access to parent contexts.
I'm really wondering why useMemo is used to create a portalNode, but without dependencies? Does this have something to do with the work of reverse-portal or do I just not have enough understanding of React? ```typescript const portalNode = React.useMemo( () => createHtmlPortalNode({ attributes: { 'data-react-component-marker': 'portal-parent', style: 'width:100%;height:100%;', }, }), [], ) ``` Or is it OK to interact like that with Leaflet, which makes always re-renders?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by Komodood and has received 4 comments.