14 lines
557 B
Markdown
14 lines
557 B
Markdown
|
# Using Waku Store in JavaScript
|
||
|
|
||
|
**Demonstrates**:
|
||
|
|
||
|
- Waku Store: Using a condition to stop retrieving results from Waku Store.
|
||
|
- Pure Javascript/HTML.
|
||
|
- Use minified bundle of js from unpkg.com, no import, no package manager.
|
||
|
|
||
|
This example uses Waku Store to retrieve the latest ping relay message (used for keep alive purposes) and displays its timestamp.
|
||
|
|
||
|
To test the example, simply download the `index.html` file from this folder and open it in a browser.
|
||
|
|
||
|
The `master` branch's HEAD is deployed at https://js-waku.wakuconnect.dev/examples/store-js/.
|