From 0d4e55321e08ebf1cf24c53b0c844642e1721398 Mon Sep 17 00:00:00 2001 From: Sergei Garin Date: Mon, 1 Dec 2025 14:15:25 +0000 Subject: [PATCH] Remove unneeded memo wrapper in the react-compiler-hooks --- frameworks/keyed/react-compiler-hooks/src/main.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/keyed/react-compiler-hooks/src/main.jsx b/frameworks/keyed/react-compiler-hooks/src/main.jsx index 516e74618..22325b642 100644 --- a/frameworks/keyed/react-compiler-hooks/src/main.jsx +++ b/frameworks/keyed/react-compiler-hooks/src/main.jsx @@ -1,4 +1,4 @@ -import { useState, memo } from "react"; +import { useState } from "react"; import { createRoot } from "react-dom/client"; import { buildData } from "./utils"; @@ -12,7 +12,7 @@ const Button = ({ id, title, onClick }) => { ); }; -const Row = memo(({ isSelected, item, select, remove }) => { +const Row = ({ isSelected, item, select, remove }) => { return ( {item.id} @@ -27,7 +27,7 @@ const Row = memo(({ isSelected, item, select, remove }) => { ); -}); +} const emptyArr = [];