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
Could add new functions for interacting with a component that doesn't have to pass this
this
Example:
;; instead of: (dom/button #js {:onClick #(la/update-state! this (fn [state] (assoc state :foo :bar)))}) ;; Could have: (dom/button #js {:onClick (la/update-state #(assoc % :foo :bar))})
Notice that:
#
!
Same for transact, possibly for the computed functions as well and others?
The text was updated successfully, but these errors were encountered:
Might want to bind additional *props* and *state* vars as well, to access reads and state without passing this. Examples:
*props*
*state*
(la/read :people) (la/state :foo)
Not sure if this is useful though.
Sorry, something went wrong.
No branches or pull requests
Could add new functions for interacting with a component that doesn't have to pass
this
Example:
Notice that:
this
is gone.#
char is not used to create an anonymous function.!
removed. Not sure if that's good naming.Same for transact, possibly for the computed functions as well and others?
The text was updated successfully, but these errors were encountered: