We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2145b commit 7bdde30Copy full SHA for 7bdde30
react/README.md
@@ -55,6 +55,18 @@ This style guide is mostly based on the standards that are currently prevalent i
55
}
56
```
57
58
+ ```filenames in React
59
+ // bad
60
+ header.jsx
61
+
62
+ //good
63
+ Header.jsx
64
65
66
+ ```filenames in Javascript
67
68
+ header.js
69
70
And if you don’t have state or refs, prefer normal functions (not arrow functions) over classes:
71
72
```jsx
0 commit comments