react-attach-ref-compat

Monkey-patch React 0.13's ref behavior to match React 15's behavior

Usage no npm install needed!

<script type="module">
  import reactAttachRefCompat from 'https://cdn.skypack.dev/react-attach-ref-compat';
</script>

README

react-attach-ref-compat

Monkey-patch React 0.13's ref behavior to match React 15's behavior

For this to work, you must bundle React into your build instead of bringing it in through a separate <script> tag.