Skip to content

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

Open
@grobitto

Description

@grobitto

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions