Wojciech Wierchoła

Results 4 comments of Wojciech Wierchoła

Temporary version: ```js import { MapLayer, withLeaflet } from "react-leaflet"; import L from "leaflet"; require("leaflet.markercluster"); class MarkerClusterGroup extends MapLayer { createLeafletElement(props) { const el = new L.markerClusterGroup(props); this.contextValue = {...

Hi. 1. In _react-leaflet-markercluster@next_ version markers pop-ups do not display content - probably they need _map_ from ```props.leaflet``` to be set/provided in MarkerClusterGroup instance contextValue. 2. In my _temporary_ version...

I use something like: ```js const proxy = new Proxy( {}, { get: function getter(target, key) { switch (key) { case "__esModule": return true; case "default": return proxy; default: return...

I use something like: ```ts import { useState, useRef, useMemo, useCallback, useEffect, SetStateAction, Dispatch, } from "react"; export const useStateRef = ( initialState: S | (() => S) ): [S,...