JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1262
  • Score
    100M100P100Q106068F
  • License ISC

React components for MapLibre GL JS

Package Exports

  • maplibre-react-components
  • maplibre-react-components/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (maplibre-react-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Lonlat logo

MapLibre React Components

Import alias

n'utiliser l'alias d'import que pour les tests ?

Tests

on utilise jsdom@^22 et canvas@~2.10.0

car les versions supérieures de jsdom requièrent canvas 2.11.4 qui entraine une erreur pnpm

ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command was killed with SIGBUS (Bus error due to misaligned, non-existing address or paging error): vitest src/components/RMap.test.ts

Questions

est-ce que cela vaut la peine de memoiser RMap alors que de toute façon il aura des enfants et la props children sera différente à chaque rendu ce qui entrainera un re rendu de RMap.