Using Ray With React

The third-party React package for Ray, react-ray, uses the package for Node.js for most core functionality.

react-ray supports React 16+ and provides two hooks:

  • useRay - send data to the Ray app whenever it updates.
  • useRayWithElement - send the contents of an element ref to the Ray app, optionally updating the item in place when its dependencies change.

Repository: permafrost-dev/react-ray

On this page

Help us improve this page