react-performance icon indicating copy to clipboard operation
react-performance copied to clipboard

Docs incorrectly describe `createNotifier()` as a middleware

Open markerikson opened this issue 7 years ago • 1 comments

The docs say that ReactPerformance.createNotifier() returns a "middleware", but it actually creates a Redux store enhancer instead, which is why it needs to be passed to compose() instead of passed to applyMiddleware(). This should be fixed for clarity.

markerikson avatar May 17 '18 19:05 markerikson

@markerikson true! I'd love a PR 🙂

amsul avatar May 21 '18 20:05 amsul