If you would like to submit a new ES6 snippet via the issue tracker, please include the following info in your issue:
- Name of the ES6 feature (e.g. Const)
- Category (create a new category if it doesn't belong in the categories already there)
- Info
A short description about what this does. You can include HTML (e.g. to link out to MDN). Try to be informative but concise.
- Example
A small code snippet showing example.
If you would like to submit a PR, please follow this guide.
Note: For non-trivial changes, please open an issue to discuss first.
- Fork the repo and clone to your machine
- Install dependencies
npm install
- Create a feature branch to work off (e.g. feature/newSnippet)
- Run the development server
gatsby develop
- Make your changes. New ES6 snippets are added to the data in
src/data/index.js
. - Commit your branch to your fork on Github. Please don't include unrelated changes.
- Make your Pull Request. Describe what you did and why, and reference any related open issues.
Note:
build
is not tracked on master and is only pushed togh-pages
branch on deploy, so no need to include it in your PR.