1
0
Fork
You've already forked react-snippets-emacs
0
No description
  • YASnippet 100%
2024年10月31日 02:59:14 +03:00
snippets moved from github 2024年10月31日 02:59:14 +03:00
LICENSE moved from github 2024年10月31日 02:59:14 +03:00
README.md moved from github 2024年10月31日 02:59:14 +03:00

react-snippets-emacs

React/Redux/React-Native snippets with Typescript support for Yasnippet

Installation

Just copy snippets folder to ~/.config/emacs/snippets

For expand a snippet without autocompletion or default TAB key, add this option:

(use-package yasnippet
 ...
 :bind ("M-j" . yas-expand) ;we are remember Emmet mode xD
 ...
)

For insert import React from 'react' add to init.el:

(setq react-import t)

For replace React Fragments <></> to <div> add to init.el:

(setq react-fragments-todiv t)

Enjoy ;)