From 4cbc4e2abcb13416d751242bc7a7557d544729fc Mon Sep 17 00:00:00 2001 From: Igor Furgala Date: Thu, 13 Nov 2025 13:08:29 +0100 Subject: [PATCH] chore: cleanup example --- example/src/App.tsx | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index b5dac0c9b..4763e3ae2 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -66,7 +66,9 @@ const DEBUG_SCROLLABLE = false; // Enabling this prop fixes input flickering while auto growing. // However, it's still experimental and not tested well. -const ANDROID_EXPERIMENTAL_SYNCHRONOUS_EVENTS = true; +// Disabled for now, as it's causing some strange issues. +// See: https://github.com/software-mansion/react-native-enriched/issues/229 +const ANDROID_EXPERIMENTAL_SYNCHRONOUS_EVENTS = false; export default function App() { const [isChannelPopupOpen, setIsChannelPopupOpen] = useState(false); @@ -80,10 +82,6 @@ export default function App() { const [currentLink, setCurrentLink] = useState(DEFAULT_LINK_STATE); - const [key, setKey] = useState(0); - const incrementKey = () => setKey((v) => v + 1); - const collectGarbage = () => global.gc?.(); - const ref = useRef(null); const userMention = useUserMention(); @@ -264,7 +262,6 @@ export default function App() {