MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/node/comments/jrau9t/conditionally_call_a_function_with_optional/gbsfw96/?context=3
r/node • u/wobsoriano • Nov 10 '20
126 comments sorted by
View all comments
58
Just because you can, doesn't mean you should
0 u/[deleted] Nov 10 '20 [deleted] 14 u/dudeitsmason Nov 10 '20 I agree, optional chaining rocks, but there's something unsettling about using it between a function variable and it's invocation I guess?
0
[deleted]
14 u/dudeitsmason Nov 10 '20 I agree, optional chaining rocks, but there's something unsettling about using it between a function variable and it's invocation I guess?
14
I agree, optional chaining rocks, but there's something unsettling about using it between a function variable and it's invocation I guess?
58
u/dudeitsmason Nov 10 '20
Just because you can, doesn't mean you should