Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Standardized guidelines and patterns for Frontend Data Fetching Strategy.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -16% | 0% |
| case-01 | ✓→✓ | = Same ✓ | -10% | 0% |
| case-05 | ✓→✓ | = Same ✓ | -23% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 6% | 0% |
Client-Side Rendering (CSR)
typescriptfunction Users() { const { data } = useQuery('users', fetchUsers); return <UserList users={data} />; }
Server-Side Rendering (SSR)
typescript// Next.js export async function getServerSideProps() { const users = await fetchUsers(); return { props: { users } }; } export default function Page({ users }) { return <UserList users={users} />; }
Static Site Generation (SSG)
typescript// Next.js export async function getStaticProps() { const users = await fetchUsers(); return { props: { users }, revalidate: 60 }; }
Other measured skills in the registry, with their headline benchmark lift.