react-performance
react-performance copied to clipboard
Docs incorrectly describe `createNotifier()` as a middleware
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 true! I'd love a PR 🙂