Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solid/reactivity: accept regexes or wildcards in customReactiveFunctions #176

Open
1 task
grobitto opened this issue Dec 20, 2024 · 0 comments
Open
1 task
Assignees
Labels
enhancement New feature or request

Comments

@grobitto
Copy link

grobitto commented Dec 20, 2024

Describe the need
I would like to exclude the whole class of functions from solid/reactivity check based on prefix (query*)

Suggested Solution
customReactiveFunctions to accept regexes or wildcards as a function name

Possible Alternatives
different configuration parameter: reactiveFunctionPrefixes

Additional context
I am using solid-query which is reactive by itself. I know all create* and use* functions are excluded by default, but I want to use different prefix (query* or fetch*)

  • I would be willing to contribute a PR to implement this feature
@grobitto grobitto added the enhancement New feature or request label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants