-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
133 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"install": "messages/install.txt", | ||
"3.0.1": "messages/3.0.1.txt" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Package Control Messages | ||
======================== | ||
|
||
React Development Snippets: | ||
--- | ||
|
||
## New Features | ||
|
||
1. Added to Package Control! Thank you so much FichteFoll! | ||
2. Fix Component Will Mount snippet command | ||
3. Reorganized folder structure and grouped snippets to: React, Redux and Test | ||
4. Added `<FormattedMessage />` snippet | ||
|
||
Support | ||
---- | ||
|
||
To learn more about the features, please visit | ||
https://github.com/jeantimex/react-sublime-snippet | ||
|
||
If you are having trouble, please contact me at [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Package Control Messages | ||
======================== | ||
|
||
React Development Snippets: | ||
--- | ||
|
||
## New Features | ||
|
||
1. Snippet command should match snippet name, i.e., `rcdu` => Component Did Mount | ||
2. Functional Component is cleaner with one-liner prop. | ||
|
||
Support | ||
---- | ||
|
||
To learn more about the features, please visit | ||
https://github.com/jeantimex/react-sublime-snippet | ||
|
||
If you are having trouble, please contact me at [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
Package Control Messages | ||
======================== | ||
|
||
React Development Snippets: | ||
--- | ||
|
||
Thanks for installing Sublime React Development Snippets! Below are some quick notes | ||
to get you started with the plugin. | ||
|
||
Please see https://github.com/jeantimex/react-sublime-snippet for the full documentation. | ||
|
||
|
||
---------------------------------------------------------------------------------- | ||
About the Snippets | ||
---------------------------------------------------------------------------------- | ||
|
||
React Development Snippets is for React developers like you, it helps you write React | ||
components, functions, tests faster. | ||
|
||
To use the snippets, make sure you are editting a .js file, type `r`, you should see | ||
a list of snippets, choose the one you want and hit Enter. | ||
|
||
---------------------------------------------------------------------------------- | ||
|
||
## Features | ||
|
||
The React Development Snippets comes with the following snippets: | ||
|
||
1. React | ||
- Class Component | ||
- Class Component with InjectIntl | ||
- Functional Component | ||
- Functional Component with InjectIntl | ||
- Component Did Mount | ||
- Component Did Update | ||
- Component Will Mount | ||
- Component Will Receive Props | ||
- Component Will Unmount | ||
- Component Will Update | ||
- Default Props | ||
- Define Messages | ||
- Formatted Message | ||
- Import | ||
- New Message | ||
- New Prop | ||
- PropTypes | ||
- Should Component Update | ||
|
||
2. Redux | ||
- Action | ||
- Reducer | ||
- Redux Component | ||
|
||
3. Test | ||
- Test | ||
- Test Describe | ||
- Test It | ||
|
||
## Coming Soon | ||
|
||
1. ES6 syntax | ||
2. More Redux snippets | ||
3. More Test snippets | ||
|
||
Support | ||
---- | ||
|
||
To learn more about the features, please visit | ||
https://github.com/jeantimex/react-sublime-snippet | ||
|
||
If you are having trouble, please contact me at [email protected] |