Adam Bohannon

Results 5 issues of Adam Bohannon

Am I mistaken in thinking the dependency arrays are used incorrectly here. Won't `client.product`, `variants`, and `productVariant` always be different due to a lack of referential equality? ``` const checkAvailability...

**Would it make sense to change the params for the solutions to take a string rather than an array?** I was thrown off by the use of sort in the...

When running Storybook, I'm getting the error `Uncaught TypeError: router is null` presumably because I am using `useRouter` in a provider that's rendering higher in the tree than `RouterContext.Provider` My...

Out of curiosity, was there a particular reason scroll and route changes were chosen as triggers for script load? My usecase needs to delay the load of the script for...

Because the event handlers are being added as script tags, they don't retain their component scope. Example: ``` const DriftWrapper = props => { const isOpen = useSelector(({ drift })...