We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
value
createEffect
on
prevValue
defer
true
The value parameter of createEffect is not passed to on as prevValue when defer is true.
https://playground.solidjs.com/anonymous/61004170-6d09-4ce2-9582-ce966c7a131d
undefined
defer: true
on with defer: true 1 undefined undefined
As a user, I expect value parameter of createEffect to be passed to on as prevValue when defer: true.
No response
Perhaps I am misunderstanding the desired behavior of OnOptions.defer, but this seems like a bug to me.
OnOptions.defer
The text was updated successfully, but these errors were encountered:
Yeah you are right. We returnundefined from the first defer run but we should probably forward the prevValue
Sorry, something went wrong.
8de75a4
No branches or pull requests
Describe the bug
The
value
parameter ofcreateEffect
is not passed toon
asprevValue
whendefer
istrue
.Your Example Website or App
https://playground.solidjs.com/anonymous/61004170-6d09-4ce2-9582-ce966c7a131d
Steps to Reproduce the Bug or Issue
prevValue
isundefined
for theon
block whendefer: true
.Expected behavior
As a user, I expect
value
parameter ofcreateEffect
to be passed toon
asprevValue
whendefer: true
.Screenshots or Videos
No response
Platform
Additional context
Perhaps I am misunderstanding the desired behavior of
OnOptions.defer
, but this seems like a bug to me.The text was updated successfully, but these errors were encountered: