Is the ref = $bindable(null)
fallback necessary?
#1214
Closed
ratrakone
started this conversation in
Feature Requests / Ideas
Replies: 1 comment
-
This is why it is done. We also cannot guarantee that the For now initializing the object via the loop is the way to go |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
this code throws an error
because
ref = $bindable(null)
for all the refs.i know i can fix it by doing
but i was curious if the
null
fallback was necessary. if it would break some functionality. and if no, if it could be removed so i don't need to init the objects.of course i understand, that mimicking browser defaults (
getElementById()
) could be more important than this convinience. if so, just close it, thanks.repl
thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions