Skip to content

Commit 2bc5dbc

Browse files
Add link to EcmaScript poposal
Signed-off-by: Rick Beerendonk <[email protected]>
1 parent cc23a35 commit 2bc5dbc

File tree

1 file changed

+1
-0
lines changed
  • 03 - Properties - a. Default Values/stage2/jsx-es2015

1 file changed

+1
-0
lines changed

03 - Properties - a. Default Values/stage2/jsx-es2015/app.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/* eslint react/prop-types:"off" */
66

77
class Greeting extends React.Component {
8+
// See: https://github.com/tc39/proposal-class-fields
89
static defaultProps = {
910
name: 'World'
1011
}

0 commit comments

Comments
 (0)