Skip to content

Refactor map components and update dependencies - #496

Open
KirDE wants to merge 2 commits into
mainfrom
fix/493
Open

Refactor map components and update dependencies#496
KirDE wants to merge 2 commits into
mainfrom
fix/493

Conversation

@KirDE

@KirDE KirDE commented Aug 21, 2026

Copy link
Copy Markdown
Contributor
  • Extract RefSetup component for map initialization logic in BannersMap and MapDetail.
  • Replace redux and redux-thunk with @reduxjs/toolkit.
  • Update react-leaflet-cluster and other packages.
  • Adjust LESS variables and style files for consistency, including color refinements and use of color-mix.
  • Update Scrollbars imports for compatibility with react-custom-scrollbars-2.
  • Optimize LoadingOverlay with additional usage of useRef.

- Extract `RefSetup` component for map initialization logic in `BannersMap` and `MapDetail`.
- Replace `redux` and `redux-thunk` with `@reduxjs/toolkit`.
- Update `react-leaflet-cluster` and other packages.
- Adjust LESS variables and style files for consistency, including color refinements and use of `color-mix`.
- Update `Scrollbars` imports for compatibility with `react-custom-scrollbars-2`.
- Optimize `LoadingOverlay` with additional usage of `useRef`.
@KirDE
KirDE requested a review from alex-messer August 21, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor RefSetup out of class components (BannersMap, MapDetail) to satisfy eslint-plugin-react-hooks

1 participant