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
@observable
@autorun
change to value of property in an @observable object doesn't trigger @autorun and I expected it to. Is this a feature or a bug?
@observable query = {word: "", definition: ""} @autorun def search unless query.word is "" APP.filtered_words = APP.words.filter(do $1.name.includes query.word ) else APP.filtered_words = APP.words
This works
@observable wordQuery = "" @observable definitionQuery = "" @autorun def search unless wordQuery is "" APP.filtered_words = APP.words.filter(do(word) word.name.includes wordQuery ) else APP.filtered_words = APP.words
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
change to value of property in an
@observable
object doesn't trigger@autorun
and I expected it to. Is this a feature or a bug?
This works
Reproduction
No response
System Environment
No response
The text was updated successfully, but these errors were encountered: