From 8830963576ab837c1ef4e4eaccc83633d7bd8e25 Mon Sep 17 00:00:00 2001 From: Roland Szoke Date: Fri, 13 Mar 2020 15:26:31 +0100 Subject: [PATCH] docs(readme): update react dev tools description --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 3820fe9..ec7dbaa 100644 --- a/README.md +++ b/README.md @@ -411,13 +411,11 @@ This is not necessary if you use React Router 4.4+. You can find more details an Usage with React Developer Tools.

-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. +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. ```jsx import React from 'react'; import { view, store } from 'react-easy-state'; -import Table from 'rc-table'; -import cloneDeep from 'lodash/cloneDeep'; const user = store({ name: 'Rick',