aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/package.json
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-08 23:10:29 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-16 00:55:03 +0200
commitc96b88b66097d58f901be4ae2831883b7472ca86 (patch)
tree50e1226e43a0cf993fc2bac8673c0e9c5796ce7d /packages/renderer/package.json
parentfix: vite dev server race condition (diff)
downloadsophie-c96b88b66097d58f901be4ae2831883b7472ca86.tar.gz
sophie-c96b88b66097d58f901be4ae2831883b7472ca86.tar.zst
sophie-c96b88b66097d58f901be4ae2831883b7472ca86.zip
fix: react suspense race condition
The top-level Suspense might trigger before the StoreProvider sets the store, which causes an error to be thrown in the useStore hook. We pass the store explicitly as a prop into the components that should load before the Suspense, which gets rid of the error. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/renderer/package.json')
0 files changed, 0 insertions, 0 deletions