Skip to content

Commit ee15059

Browse files
committed
2 parents 1f12e3c + 31efcdf commit ee15059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Walk a React element tree, executing a provided visitor function against each el
1717

1818
Originally inspired/lifted from the awesome [`react-apollo`](https://github.com/apollostack/react-apollo) project.
1919

20-
This modified version expands upon the design, making it `Promise` based, and allowing a visit by a visitor to return a `Promise`, which would subsequently delay the tree walking until the `Promise` is resolved. The tree is still walked in a depth-first fashion.
20+
This modified version expands upon the design, making it `Promise` based, allowing the visitor to return a `Promise`, which would subsequently delay the tree walking until the `Promise` is resolved. The tree is still walked in a depth-first fashion.
2121

2222
With this you could, for example, perform pre-rendering parses on your React element tree to do things like data prefetching. 🤛
2323

0 commit comments

Comments
 (0)