diff --git a/react/README.md b/react/README.md index 716ef591..b216e14c 100644 --- a/react/README.md +++ b/react/README.md @@ -337,7 +337,7 @@ // good this.myRef = ref} + ref={ref => { this.myRef = ref; }} /> ```