pedro00dk
pedro00dk
SSolidJS
Created by pedro00dk on 11/11/2024 in #support
Solid/reactivity lint rule complains about async custom event handlers
3 replies
SSolidJS
Created by pedro00dk on 11/11/2024 in #support
Solid/reactivity lint rule complains about async custom event handlers
Would changing this regex be enough to fix the issue? https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/src/rules/reactivity.ts#L853 It seems it is too strict, causing the if condition to fail. The It then falls a bit later at: https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/src/rules/reactivity.ts#L914 And the tracked scope is set as "function" instead of "called-function". Later the code falls here: https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/src/rules/reactivity.ts#L818 Which causes the error.
3 replies
SSolidJS
Created by pedro00dk on 12/18/2023 in #support
Solid-js router 0.10.x cache invalidation
There is a cache.clear() function for that purpose. I don't think it is documented though.
6 replies