Skip to content

Commit 0b0e4da

Browse files
committed
Add npm badge
1 parent 0a3ff6e commit 0b0e4da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# react-broadcast
1+
# react-broadcast [![npm package][npm-badge]][npm]
2+
3+
[npm-badge]: https://img.shields.io/npm/v/react-broadcast.svg?style=flat-square
4+
[npm]: https://www.npmjs.com/package/react-broadcast
25

36
[`react-broadcast`](https://www.npmjs.com/package/react-broadcast) provides a way for React components to safely propagate state changes to their descendants deep in the component hierarchy, bypassing intermediaries who `return false` from [`shouldComponentUpdate`](https://facebook.github.io/react/docs/component-specs.html#updating-shouldcomponentupdate).
47

0 commit comments

Comments
 (0)