Skip to content

Commit

Permalink
Merge pull request #355 from ably/demo-include-hooks-in-readme
Browse files Browse the repository at this point in the history
demo-app: Update the readme to include Chat React hooks usage.
  • Loading branch information
splindsay-92 authored Oct 14, 2024
2 parents 0ac639e + f48f287 commit 35b98fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chat SDK Demo

An app showcasing the usage of Chat SDK to build chat.
An app showcasing the usage of Chat SDK with Chat React hooks to build chat.

Quickstart install-to-browser, from this folder run:

Expand All @@ -10,9 +10,12 @@ npm install
npm run start
```

## Installation
##   Installation

1. First of all, you need to build the main Chat SDK from the root directory (`(cd .. && npm run build)`).
> [!NOTE] This demo app uses both the `ably-chat-js` core SDK and associated React hooks.
> The latter is accessible via `@ably/chat/react` once the `@ably/chat` package has been installed.
1. First of all, you need to build the main Chat SDK and associated React hooks from the root directory (`(cd .. && npm run build)`).
2. Run `npm install` here.

## Credential Setup
Expand Down

0 comments on commit 35b98fa

Please sign in to comment.