Closed onemen closed 1 year ago
A PR would be nice, but I have to see it before I can decide whether I want to merge it.
Why did you wrapped getPlaygroundApp inside getApps?
during /set-playground
action thare are multiple calls to getApps
that trigger getFreshValue for getApps and getPlaygroundApp.
:tada: This issue has been resolved in version 1.32.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
$exerciseNumber_.$stepNumber.$type.tsx
loader function calls getApps three timehttps://github.com/epicweb-dev/kcdshop/blob/8f1503545f9c2d72f552c2cfaeb179d13fc0ef5e/packages/workshop-app/app/routes/_app%2B/_exercises%2B/%24exerciseNumber_.%24stepNumber.%24type.tsx#L112
would it be simpler to call
getPlaygroundApp
directlyhttps://github.com/epicweb-dev/kcdshop/blob/8f1503545f9c2d72f552c2cfaeb179d13fc0ef5e/packages/workshop-app/app/routes/_app%2B/_exercises%2B/%24exerciseNumber_.%24stepNumber.%24type.tsx#L136
https://github.com/epicweb-dev/kcdshop/blob/8f1503545f9c2d72f552c2cfaeb179d13fc0ef5e/packages/workshop-app/app/routes/_app%2B/_exercises%2B/%24exerciseNumber_.%24stepNumber.%24type.tsx#L167
@kentcdodds, I can post a PR if it is something you want to fix