Last post Nov 17, 2019 07:55 PM by bruce (sqlwork.com)
Nov 16, 2019 02:14 PM|EnenDaveyBoy|LINK
I am building react components and sometimes not all the props are required, and since props is an object all works well.
however when i am building hooks, i have a situation where i don't need all the arguments all the time, is the solution to pass in an object instead, and deconstruct it?
Nov 17, 2019 07:55 PM|bruce (sqlwork.com)|LINK