status-bors-ng[bot] 8a84024c7d
Merge #745
745: update unique key to React list element in relay-reactjs-chat app r=D4nte a=tobyjaguar

## Problem

When running the app on a development server, the React list of mapped messages produces a warning that the children in a list should have a unique key prop:

<img width="1347" alt="Screen Shot 2022-05-17 at 4 02 23 PM" src="https://user-images.githubusercontent.com/16940072/168926247-ca331666-f23c-487b-9023-3c63eea35492.png">


## Solution

Add a unique key to the list element in the App.js component.

## Notes

Any unique key will do here, but the timestamp seems to work unless the maintainers refactor for a better id. 
A timestamp may not be ideal if multiple messages with the same timestamp come in. Perhaps a uuid would
work, but perhaps that is too heavy handed for an example, although this may be a choice for a production
implementation.


Co-authored-by: tobyjaguar <talgya@gmail.com>
Co-authored-by: Franck Royer <franck@status.im>
2022-05-20 00:32:21 +00:00
2022-02-25 14:18:46 +11:00
2021-05-04 10:49:14 +10:00
2022-05-13 16:06:16 +10:00
2022-05-19 15:32:06 +10:00
2022-04-06 12:39:18 +10:00
2022-05-19 16:04:38 +10:00
2022-05-19 15:17:18 +10:00
2021-03-05 09:34:01 +11:00
2021-12-21 12:08:16 +11:00
2021-03-19 11:23:34 +11:00
2022-02-25 13:35:39 +11:00
2021-03-10 16:22:49 +11:00
2022-03-01 15:27:35 +11:00
2021-04-28 21:27:26 +10:00
2021-05-11 10:50:58 +10:00
2022-05-19 15:36:24 +10:00
2022-05-19 15:36:24 +10:00
2021-12-06 14:28:29 +11:00
2021-10-12 11:43:29 +11:00
2022-02-11 17:27:15 +11:00
2022-05-13 17:28:38 +10:00
2022-05-13 17:28:38 +10:00
2022-05-13 17:28:38 +10:00

NPM

GitHub Action Discord chat

js-waku

A JavaScript implementation of the Waku v2 protocol.

Documentation

API Documentation can also be generated locally:

git clone https://github.com/status-im/js-waku.git
cd js-waku
npm install
npm run doc

Changelog

Release changelog can be found in CHANGELOG.md.

Bugs, Questions & Features

If you encounter any bug or would like to propose new features, feel free to open an issue.

To get help, join #wakuconnect-support on Vac Discord or Telegram.

For more general discussion and latest news, join #wakuconnect on Vac Discord or Telegram.

Roadmap

You can track progress on the project board.

Contributing

See CONTRIBUTING.md.

License

Licensed and distributed under either of

or

at your option. These files may not be copied, modified, or distributed except according to those terms.

Description
JavaScript implementation of Waku v2
https://js.waku.org
Readme
Languages
TypeScript 94.4%
JavaScript 5.6%