Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,15 @@ This style guide is mostly based on the standards that are currently prevalent i
## Props

- Always use camelCase for prop names, or PascalCase if the prop value is a React component.

- Using CamelCase Notation during initialization of any variable.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't seem to add value.

```jsx
// bad
<Foo
UserName="hello"
phone_number={12345678}
/>

// good
// good
<Foo
userName="hello"
phoneNumber={12345678}
Expand Down