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
payload filter
when changing const SetFilter = (state, event) => ({ ...state, filter: event.target.value }) ,
const SetFilter = (state, event) => ({ ...state, filter: event.target.value })
to const SetFilter = (state, word) => ({ ...state, filter: word }).
const SetFilter = (state, word) => ({ ...state, filter: word })
The oninput: [SetFilter, (event) => event.target.value] in the tutorial seems do not work anymore,
oninput: [SetFilter, (event) => event.target.value]
Maybe use oninput: (state, event) => SetFilter(state, event.target.value).
oninput: (state, event) => SetFilter(state, event.target.value)
The text was updated successfully, but these errors were encountered:
@xieyuheng Just like #973, this is also a bug in the documentation. We're tracking this in: #965. Thanks.
Sorry, something went wrong.
No branches or pull requests
when changing
const SetFilter = (state, event) => ({ ...state, filter: event.target.value })
,to
const SetFilter = (state, word) => ({ ...state, filter: word })
.The
oninput: [SetFilter, (event) => event.target.value]
in the tutorial seems do not work anymore,Maybe use
oninput: (state, event) => SetFilter(state, event.target.value)
.The text was updated successfully, but these errors were encountered: