From 5fa7f6a8f0b14702dab406ee665b7c727f307093 Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 14 Jan 2026 15:22:05 -0500 Subject: [PATCH] feature/IO-3499-React-19-ProductionBoard - remove use-memo-one --- .../trello-board/dnd/lib/view/drag-drop-context/app.js | 3 +-- .../trello-board/dnd/lib/view/draggable/draggable.js | 3 +-- .../trello-board/dnd/lib/view/droppable/droppable.js | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/client/src/components/production-board-kanban/trello-board/dnd/lib/view/drag-drop-context/app.js b/client/src/components/production-board-kanban/trello-board/dnd/lib/view/drag-drop-context/app.js index a70cf7d52..7cae5b596 100644 --- a/client/src/components/production-board-kanban/trello-board/dnd/lib/view/drag-drop-context/app.js +++ b/client/src/components/production-board-kanban/trello-board/dnd/lib/view/drag-drop-context/app.js @@ -1,7 +1,6 @@ -import React, { useEffect, useRef } from "react"; +import React, { useCallback, useEffect, useMemo, useRef } from "react"; import { bindActionCreators } from "redux"; import { Provider } from "react-redux"; -import { useCallback, useMemo } from "use-memo-one"; import { invariant } from "../../invariant"; import createStore from "../../state/create-store"; import createDimensionMarshal from "../../state/dimension-marshal/dimension-marshal"; diff --git a/client/src/components/production-board-kanban/trello-board/dnd/lib/view/draggable/draggable.js b/client/src/components/production-board-kanban/trello-board/dnd/lib/view/draggable/draggable.js index 41a82d8bb..ccbc2578d 100644 --- a/client/src/components/production-board-kanban/trello-board/dnd/lib/view/draggable/draggable.js +++ b/client/src/components/production-board-kanban/trello-board/dnd/lib/view/draggable/draggable.js @@ -1,5 +1,4 @@ -import { useRef } from "react"; -import { useCallback, useMemo } from "use-memo-one"; +import { useCallback, useRef, useMemo } from "react"; import getStyle from "./get-style"; import useDraggablePublisher from "../use-draggable-publisher/use-draggable-publisher"; import AppContext from "../context/app-context"; diff --git a/client/src/components/production-board-kanban/trello-board/dnd/lib/view/droppable/droppable.js b/client/src/components/production-board-kanban/trello-board/dnd/lib/view/droppable/droppable.js index 07e5b4b0d..2da46550b 100644 --- a/client/src/components/production-board-kanban/trello-board/dnd/lib/view/droppable/droppable.js +++ b/client/src/components/production-board-kanban/trello-board/dnd/lib/view/droppable/droppable.js @@ -1,6 +1,5 @@ import ReactDOM from "react-dom"; -import { useCallback, useMemo } from "use-memo-one"; -import React, { useContext, useRef } from "react"; +import React, { useCallback, useContext, useMemo, useRef } from "react"; import { invariant } from "../../invariant"; import useDroppablePublisher from "../use-droppable-publisher"; import Placeholder from "../placeholder";