gaearon / gaearon/react-document-title

Keep seeing warnings about missing 'key' prop for DocumentTitle

Open
#52 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Not sure if I'm doing something wrong, if this is a problem with this component, or if the issue is in `react-side-effect`, but it's a slightly distracting (if harmless) warning that I can't get rid of:

```
bundle.0ae94dcb667ef563f4ee.js:sourcemap:3890 Warning: Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.
in div
in DocumentTitle (created by SideEffect(DocumentTitle))
in SideEffect(DocumentTitle)
in NavbarView (created by RouterContext)
in RouterContext (created by Router)
in Router
in Provider
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.