Skip to content

Commit

Permalink
docs: mark the react hooks as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
owenpearson committed Sep 4, 2023
1 parent 1b088b2 commit 49173e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ This SDK supports the following platforms:

**TypeScript:** see [below](#typescript)

**React** We offer a set of react hooks which make it seamless to use ably-js in your react application. See the [react hooks documentation](./docs/react.md) for more details.

**WebWorkers**: We build a separate bundle which supports running in a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) context. You can import it like this:

**React (experimental)** We offer a set of react hooks which make it seamless to use ably-js in your react application. See the [react hooks documentation](./docs/react.md) for more details.
```js
import Ably from 'ably/build/ably-webworker.min';
```
Expand Down
3 changes: 3 additions & 0 deletions docs/react.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ably-js React hooks

> [!IMPORTANT]
> The ably-js react hooks are currently in the release candidate phase, and there may be breaking changes in a future non-major release.
Use Ably in your React application using idiomatic, easy to use, React Hooks!

Using this module you can:
Expand Down

0 comments on commit 49173e7

Please sign in to comment.