From f6b6dd5a2b80d2eee4073756fe2fb832bfc56112 Mon Sep 17 00:00:00 2001 From: Swizec Teller Date: Wed, 16 Jun 2021 09:04:03 -0700 Subject: [PATCH] Try without React.memo --- src/Pythagoras.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pythagoras.js b/src/Pythagoras.js index f208700..2460086 100644 --- a/src/Pythagoras.js +++ b/src/Pythagoras.js @@ -34,7 +34,7 @@ const memoizedCalc = (function () { }; })(); -const Pythagoras = React.memo(({ +const Pythagoras = ({ w, x, y, @@ -106,6 +106,6 @@ const Pythagoras = React.memo(({ /> ); -}); +}; export default Pythagoras;