diff --git a/README.md b/README.md index a76b01a..f7a6142 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,8 @@ Track custom hooks: ```js whyDidYouRender(React, { trackExtraHooks: [ - [ReactRedux, 'useSelector'] + // notice that 'useSelector' is a named export + [ReactRedux, 'useSelector'], ] }); ```