Skip to content

neuromagus/react-snippets-emacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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 ;)

About

React/Redux/React-Native snippets for yasnippet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published