Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
1. **Never call `setState` directly in the component body** 2. **Always use `useEffect` with correct dependencies** 3. **Use `setState(prev => ...)` for updates based on previous state** 4. **Don't mu
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/viktorjjf-react-skeleton-2-very-important-consider-for-r-785c13/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "viktorjjf-react-skeleton-2-very-important-consider-for-r-785c13",
"kind": "skill",
"name": "very-important-consider-for-react",
"description": "1. **Never call `setState` directly in the component body** 2. **Always use `useEffect` with correct dependencies** 3. **Use `setState(prev => ...)` for updates based on previous state** 4. **Don't mutate state directly; use immutability** 5. **Avoid inline objects/functions in props** 6. **Don't use hooks conditionally** 7. **Use `useMemo` and `useCallback` to optimize renders** 8. **Understand when effects execute** 9. **Use tools like React DevTools and ESLint** 10. **React does exactly what you tell it to do**",
"publisher": "ViktorJJF",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"1. **Never call `setState` directly in the component body** 2. **Always use `useEffect` with correct dependencies** 3. **Use `setState(prev => ...)` for updates based on previous state** 4. **Don't mutate state directly; use immutability** 5. **Avoid inline objects/functions in props** 6. **Don't use hooks conditionally** 7. **Use `useMemo` and `useCallback` to optimize renders** 8. **Understand when effects execute** 9. **Use tools like React DevTools and ESLint** 10. **React does exactly what you tell it to do**"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/ViktorJJF/react_skeleton_2",
"path": ".cursor/rules/very-important-consider-for-react.mdc",
"ref": "8f16504fa8fd7ae50600f523320942e589357f4a",
"url": "https://github.com/ViktorJJF/react_skeleton_2/blob/8f16504fa8fd7ae50600f523320942e589357f4a/.cursor/rules/very-important-consider-for-react.mdc",
"key": "ViktorJJF/react_skeleton_2/.cursor/rules/very-important-consider-for-react.mdc"
}
},
"instructions": "# React Infinite Loop Prevention Rules\n\n1. **Never call `setState` directly in the component body**\n2. **Always use `useEffect` with correct dependencies**\n3. **Use `setState(prev => ...)` for updates based on previous state**\n4. **Don't mutate state directly; use immutability**\n5. **Avoid inline objects/functions in props**\n6. **Don't use hooks conditionally**\n7. **Use `useMemo` and `useCallback` to optimize renders**\n8. **Understand when effects execute**\n9. **Use tools like React DevTools and ESLint**\n10. **React does exactly what you tell it to do**\n\n## Common Patterns That Cause Infinite ",
"cost": {
"context_tokens": 296
}
}
Fetch it by URL: GET /api/v1/registry/viktorjjf-react-skeleton-2-very-important-consider-for-r-785c13/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.