From 33c6ee80d22eb63e4e0957de291ef23b27352dbf Mon Sep 17 00:00:00 2001 From: Brian Lagman Date: Thu, 16 Jun 2022 15:03:25 -0700 Subject: [PATCH 1/4] Add changes to subscribe to changes --- example/app/routes/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/app/routes/index.tsx b/example/app/routes/index.tsx index cc28108..f3d7199 100644 --- a/example/app/routes/index.tsx +++ b/example/app/routes/index.tsx @@ -1,11 +1,11 @@ import { useFlags } from 'remix-sdk/client'; export default function Index() { - const { devTestFlag } = useFlags(); + const { thisIsASpecialTest } = useFlags(); return (
-

{devTestFlag ? `Welcome to Remix with LD!` : `Welcome to Remix!`}

+

{thisIsASpecialTest ? `Welcome to Remix with LD!` : `Welcome to Remix!`}