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 bda062f commit bdc6b07Copy full SHA for bdc6b07
README.md
@@ -134,21 +134,17 @@ Lint: [eslint](https://eslint.org/) with [custom config](./eslint.config.js) (ba
134
135
Bad:
136
```javascript
137
- function useSomething({ bigObject }) {
138
- // using bigObject.property
139
- // using bigObject.anotherProperty
+ function useSomething(bigObject) {
+ // bigObject.property, bigObject.anotherProperty
140
}
141
-
142
- useSomething({ bigObject })
143
```
144
145
<ChildComponent :parent="parent" />
146
147
Good:
148
149
function useSomething({ property, anotherProperty }) {
150
- // using property
151
- // using anotherProperty
+ // property, anotherProperty
152
153
154
useSomething({
0 commit comments