From 91184a74385588a8c2380b321eee2017167e844c Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 22 Aug 2024 10:26:20 -0400 Subject: [PATCH] Clarify wording in default console warning (#9899) --- .changeset/two-chicken-provide.md | 5 +++++ packages/remix-react/fallback.tsx | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/two-chicken-provide.md diff --git a/.changeset/two-chicken-provide.md b/.changeset/two-chicken-provide.md new file mode 100644 index 00000000000..3bd7ff47a66 --- /dev/null +++ b/.changeset/two-chicken-provide.md @@ -0,0 +1,5 @@ +--- +"@remix-run/react": patch +--- + +Clarify wording in default `HydrateFallback` console warning diff --git a/packages/remix-react/fallback.tsx b/packages/remix-react/fallback.tsx index e22ccbf41e2..148fb6a1b6a 100644 --- a/packages/remix-react/fallback.tsx +++ b/packages/remix-react/fallback.tsx @@ -14,8 +14,9 @@ export function RemixRootDefaultHydrateFallback() { __html: ` console.log( "💿 Hey developer 👋. You can provide a way better UX than this " + - "when your app is running \`clientLoader\` functions on hydration. " + - "Check out https://remix.run/route/hydrate-fallback for more information." + "when your app is loading JS modules and/or running \`clientLoader\` " + + "functions. Check out https://remix.run/route/hydrate-fallback " + + "for more information." ); `, }}