Prop `aria-owns` did not match. - SSR
See original GitHub issueShort description
I was trying to add react-geosuggest (v2.12.1) to a next.js (v9.1) application, however, I get a warning in my console: Warning: Prop
aria-owns did not match. Server: "geosuggest__list_c2f6f86958fd7" Client: "geosuggest__list_b47ff6fa5019f"
Expected results
I expected the integration to work without warnings.
Actual results
I got a warning in the console, the culprit, in my opinion, is math.random generated listId in the Geosuggest.tsx.
Additional Information
Perhaps I am simply missing something here or the warning might not be relevant at all, however, I like to keep my console clean and wasn’t able to solve this on my own.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Warning: Prop aria-owns did not match. #468 - GitHub
Short description I was trying to do use Geosuggest component within next.js app but I got this error: Warning: Prop `aria-owns` did not...
Read more >Prop `aria-current` did not match. Server: "null" Client: "page"
Here is how I have set up the router: import React from 'react' import { navbar } from './navbar ...
Read more >Prop `aria-owns` did not match. - SSR - Bountysource
Short description. I was trying to add react-geosuggest (v2.12.1) to a next.js (v9.1) application, however, I get a warning in my console: ...
Read more >Select warns about specifying an aria-label - Developer Support
When i use Select component, it keep gives me a error message “If you do not provide a visible label, you must specify...
Read more >Server Side Rendering – React Aria
Server side rendering, or SSR, is the process of rendering components to HTML on the server, rather than rendering them only on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The random ID will be removed and it’s possible to set an ID on the Geosuggest to have aria-owns work even when there are multiple instances on a page. Thanks for reporting!
A release was due, the PR was just released in
2.13.1
.