use:clickOutside not defined

Heyhey. I copy pasted the code from https://www.solidjs.com/tutorial/bindings_directives?solved but I get a runtime error ReferenceError: clickOutside is not defined. What am I missing here? I've added the TS declaration as mentioned in the docs here https://www.solidjs.com/docs/latest/api#use___ . My linter is complaining but I don't think it would have any impact on the solid compilation anyway?
1 Reply
Martnart
MartnartOP2y ago
Before the error is thrown there's also a hydration key warning. Answered here: https://discord.com/channels/722131463138705510/722131463889223772/1077488121119260803
Want results from more Discord servers?
Add your server