Skip to content

Commit b9d080b

Browse files
committed
[guide] [react] add comment about what JS standards are followed
Seen a few pull requests for the React style guide that try to introduce features that aren't yet in stage >= 3 (static class fields for i.e), so I've decided to add a comment to the beginning of the guide. Not sure if this is the right place to put it, but here it is. This disclaimer might help: 1) give the community an idea what standards this guide is based on 2) prevent redundant pull requests
1 parent 3c3074e commit b9d080b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

react/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
*A mostly reasonable approach to React and JSX*
44

5+
This style guide is mostly based on the standards that are currently prevalent in JavaScript, although some conventions (i.e async/await or static class fields) may still be included or prohibited on a case-by-case basis. Currently, anything prior to stage 3 is not included nor recommended in this guide.
6+
57
## Table of Contents
68

79
1. [Basic Rules](#basic-rules)

0 commit comments

Comments
 (0)