Skip to content

Commit f2578bf

Browse files
authored
provide alternate solutions in the readme
1 parent 6293b6f commit f2578bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ A generic technique for resolving the DOM node of any react component.
44

55
[![Build Status](https://travis-ci.org/jossmac/react-node-resolver.svg?branch=master)](https://travis-ci.org/jossmac/react-node-resolver)
66

7+
### Alternate Solutions
8+
9+
Since creating this utility, more robust solutions have become available. Consider the following before using this package:
10+
11+
- [React.forwardRef()](https://reactjs.org/docs/forwarding-refs.html)
12+
- [The render props pattern](https://reactjs.org/docs/render-props.html)
13+
714
### Install
815

916
```bash

0 commit comments

Comments
 (0)