@clipboard-health/ai-rules 2.5.3 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ export function useGetFeature(id: string, options = {}) {
|
|
|
36
36
|
|
|
37
37
|
- Log errors via `meta.logErrorMessage` using centralized event constants
|
|
38
38
|
- Display user-facing errors via `meta.userErrorMessage`
|
|
39
|
-
- Do not use the deprecated `onError` callback
|
|
39
|
+
- Do not use the deprecated `onError` callback for useQuery queries , use the `meta` pattern to handle errors. This rule doesn't apply to useMutation, using onError for useMutation is a valid pattern
|
|
40
40
|
|
|
41
41
|
## Query Keys
|
|
42
42
|
|