Skip to content

Commit 8830963

Browse files
rolandszokesolkimicreb
authored andcommitted
docs(readme): update react dev tools description
1 parent 414cf62 commit 8830963

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,13 +411,11 @@ This is not necessary if you use React Router 4.4+. You can find more details an
411411
<summary>Usage with React Developer Tools.</summary>
412412
<p></p>
413413

414-
If you want React Developer Tools to recognize your reactive view components with names, you have to pass a **named component** to the `view` wrapper function instead of an anonymous one.
414+
If you want React Developer Tools to recognize your reactive view components' names, you have to pass either a **named function** or an anonymous function with **name inference** to the `view` wrapper.
415415

416416
```jsx
417417
import React from 'react';
418418
import { view, store } from 'react-easy-state';
419-
import Table from 'rc-table';
420-
import cloneDeep from 'lodash/cloneDeep';
421419

422420
const user = store({
423421
name: 'Rick',

0 commit comments

Comments
 (0)