Post 9zdVKRhB9x5xxIt1yi by ericflo@mastodon.xyz
 (DIR) More posts by ericflo@mastodon.xyz
 (DIR) Post #9zc4Mz29Huoc0jikM4 by kevinflo@tinyfed.com
       2020-09-28T09:18:39Z
       
       0 likes, 0 repeats
       
       TIL to destructure a parent and its child at the same time in JSconst {  parent,  parent: { child },} = somethingThere are real reasons that syntax isn't intuitive. 10,000 times I wanted to do this...
       
 (DIR) Post #9zdVKRhB9x5xxIt1yi by ericflo@mastodon.xyz
       2020-09-29T01:55:23Z
       
       0 likes, 0 repeats
       
       @kevinflo I'm always nervous to destructure like this in case 'parent' is null