Custom Rules Demo
You can create your own custom rules either by using an inline function or the createRule
utility. It is recommended to create custom rules using the createRule
function rather than an inline function because it automatically tracks reactive dependencies and enables you to add custom active
behavior to the rule.