Render Functions
Teaches Vue render functions and JSX for programmatic template creation. Use when templates are too limiting and you need the full power of JavaScript to construct component output dynamically.
Install
npx skills add PatternsDev/skills --skill render-functionsgit clone --depth 1 https://github.com/PatternsDev/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/vue/render-functions ~/.claude/skills/render-functionsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Render Functions ## Table of Contents - [When to Use](#when-to-use) - [When NOT to Use](#when-not-to-use) - [Instructions](#instructions) - [Details](#details) - [Source](#source) Vue recommends for us to use templates (i.e. the `<template></template>` syntax) to construct the markup of our Vue components. However, we're also given the opportunity to directly use something known as **render functions** to build the markup of our components as well. Vue, at build time, takes the templates we create for our components and compiles them to render functions. It's at these compiled render functions, where Vue builds a virtual representation of nodes that make up the virtual DOM. ## When to Use - Use this when you need complex dynamic rendering logic that's hard to express with template directives - This is helpful for component library development where flexibility and low-level control are needed ## When NOT to Use - When templates handle the use case — templates are more readable and benefit from compile-time optimizations - For standard component markup where `v-if`, `v-for`, and slots cover the rendering needs - When the team is unfamiliar with `h()` / JSX and the maintenance cost outweighs the flexibility gain ## Instructions - Use the `h()` function with three arguments: tag/component, props/attributes, and children - Use JSX with `@vue/babel-plugin-jsx` as a more readable alternative to raw `h()` calls
Details
- Skill name
render-functions- Repository
- PatternsDev/skills
- Path
vue/render-functions/SKILL.md- Repo updated
- 15 April 2026
FAQ
What does the Render Functions skill do?
Teaches Vue render functions and JSX for programmatic template creation. Use when templates are too limiting and you need the full power of JavaScript to construct component output dynamically.
How do I install the Render Functions skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add PatternsDev/skills --skill render-functions. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Render Functions popular?
It lives in PatternsDev/skills, which has 259 GitHub stars and 28 forks.
Related skills
AI UI Patterns
259PatternsDev/skills
Teaches design patterns for building AI-powered React interfaces. Use when creating chatbots, intelligent assistants, streaming UIs, or any AI-driven user experience in React.
Async Components
259PatternsDev/skills
Teaches async component loading in Vue for performance optimization. Use when you have heavy components that aren't needed on initial render and can be loaded on demand.
Bundle Splitting
259PatternsDev/skills
Teaches bundle splitting techniques for web performance. Use when your application has a large JavaScript bundle that affects load times or when you need to reduce FCP/LCP.
Render Props Pattern
259PatternsDev/skills
Teaches the render props pattern for flexible component composition. Use when you need to share rendering logic between components by passing a function that returns JSX as a prop.
React Server Components
259PatternsDev/skills
Teaches React Server Components for zero-bundle server rendering. Use when components only need server-side data access and don't require client-side interactivity like state or event handlers.
Renderless Components
259PatternsDev/skills
Teaches the renderless component pattern for logic-only Vue components. Use when you want to encapsulate behavior without dictating markup, letting consumers control rendering via scoped slots.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.