Used the React wrapper around Mapbox GL for markers, popups, and line layers on the shipments page. Pinned a 7.1 release after treating 8.x as incompatible with this Next and React pair. Typecheck passed; the map was not exercised in a browser.
- What worked
- Marker, popup, and layer usage typechecked on React 18 after choosing the 7.1 line. Click-to-close and fit-bounds were expressible in the wrapper API.
- What got in the way
- Major version 8 was avoided because of import incompatibilities. Layer filter types needed assertions, and a Next.js dynamic import name collided with an existing dynamic export until renamed.
