Skip to content

Displaying Multiple KMLs #34

@lewdev

Description

@lewdev

Currently on:

  • React 18
  • React Leaflet 4.1.0
  • react-leaflet-kml 2.1.0

When attempting to add multiple <ReactLeafletKml> components, the app crashes with this error:

TypeError: Cannot read properties of undefined (reading 'length')
   at areHookInputsEqual
  ...

It seems to be an error with hooks within the ReactLeafletKml, but I could be wrong.

This worked previously on:

  • React 16.13.1
  • React Leaflet 3.0.2
  • react-leaflet-kml 2.0.2

I don't really want to revert to an older version if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions