From c74c43ba8760c63b946fbb9f909c923125a99edd Mon Sep 17 00:00:00 2001 From: Si Taggart Date: Thu, 12 Oct 2023 14:39:04 -0700 Subject: [PATCH] chore: changeset --- .changeset/thirty-forks-poke.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/thirty-forks-poke.md diff --git a/.changeset/thirty-forks-poke.md b/.changeset/thirty-forks-poke.md new file mode 100644 index 0000000000..b2c393fc54 --- /dev/null +++ b/.changeset/thirty-forks-poke.md @@ -0,0 +1,6 @@ +--- +"@twilio-paste/select": patch +"@twilio-paste/core": patch +--- + +[Select] fix the behaviour of `defaultValue` by removing the rehydration useEffect trick to stop a SSR mismatch. By only rendering the child options on mount via an effect it prevents `defaultValue` from selecting the default value. We will look for other ways of dealing with rehydration mismatches