Skip to content
V

Vim React Snippets

Useful snippets for developing in React (Javascript and Typescript)

by mlaursenFree

#5084in Utilities
0In stores

Description

vim-react-snippets is a collection of React snippets for Vim, written for JavaScript and TypeScript code. The snippets use LuaSnip as their…

Highlights

  • React function and server component snippets
  • Hook snippets for state, effects, context and refs
  • TypeScript interfaces, generics and JSDoc
  • Test templates for React components
  • SCSS and Material UI snippets

Ratings & Reviews

No ratings yet

Be the first to rate Vim React Snippets.

People also visit

R

react-dev

Should be used when building React components

AI Skills
Get
R

react-best-practices

Reading or writing React components (.tsx, .jsx files with React imports)

AI Skills
Get
C

CSSnippets

Collection of Easy to Use UI Components

Design
Launch
R

react-patterns

Provides comprehensive React 19 patterns for Server Components, Server Actions

AI Skills
Get
R

react-expert

Building React 18+ applications in .jsx or .tsx files

AI Skills
Get
T

typescript-react-reviewer

Expert code reviewer for TypeScript + React 19 applications

AI Skills
Get

Vim React Snippets FAQ

What are these snippets?

Vim snippets for writing React code in JavaScript and TypeScript. They use the LuaSnip snippet engine.

What do I need to install first?

LuaSnip, since the snippets rely on it as their snippet provider. The README has the installation steps.

Which React features are covered?

Function and server component exports, hooks such as useState, useReducer, useEffect and useMemo, context providers, and Redux hooks.

Are there testing snippets?

Yes. There are templates for describe and it blocks, expect, test queries, user events, waitFor and React test files.

What are the best Vim React Snippets alternatives?

Popular alternatives to Vim React Snippets include React Markdown Editor, Coc Snippets and React MD Editor. See all Vim React Snippets alternatives

Developer Stuff

Badges