Skip to content
Opionated React templating for Atom
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
keymaps
lib
menus
spec
styles
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

atom-react-alt-templates

All credit goes to Alexey Sokolov who made the nice package atom-smart-template, I'm just expanding his great code.

This package adds some predefined React templates to the templating engine.

NOTE: Seems to be incompatible with Nuclide at the moment.

Usage

Right click the folder where you want to add files and select Create files from template

Alt

  • Action with a test
  • Store with tests

React

  • Container component with tests
  • Project setup
  • Custom validator
  • Dumb component (aka Functional stateless component)
  • Smart component (ES6 class)

Dumb and smart components come in both a format with and without a wrapping folder. All React templates contain at least one test. Dumb and smart components also include a CSS file.

You can’t perform that action at this time.