Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table.Row - Context.Provider missing 'value' prop #1140

Closed
MarosPistej opened this issue Jan 26, 2021 · 9 comments
Closed

Table.Row - Context.Provider missing 'value' prop #1140

MarosPistej opened this issue Jan 26, 2021 · 9 comments

Comments

@MarosPistej
Copy link

Description
There seems to be bug in Table.Row that value prop is missing in <Context.Provider> as described in console warning

Warning: The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?
    at TableRow

image

Additional context
Code sandbox warning example using evergreen-ui table sample bellow
Warning example

@billyct
Copy link

billyct commented Feb 7, 2021

🌝 i downgrade the react version from 17.x to 16.x, then the warning disappeared.

react@17.x Warn when no value is provided to <Context.Provider>
facebook/react#19054

@tomhands1
Copy link

I also have this issue, after upgrading versions of React. It appears that setting a value to context providers is now a required field and throws a warning if not as of:

@dikaio
Copy link

dikaio commented Feb 18, 2021

Also interested in this.

@Samuel-Montoya
Copy link

Getting the same warning on my end!

@mshwery
Copy link
Contributor

mshwery commented Jul 14, 2021

Resolved by #1256

@mshwery mshwery closed this as completed Jul 14, 2021
@jackamondo
Copy link

Resolved by #1256

Unfortunately i'm still getting this exact error on 6.1.0

@mshwery
Copy link
Contributor

mshwery commented Jul 21, 2021

Unfortunately i'm still getting this exact error on 6.1.0

Yep! I don't think we've cut a release since that PR got merged

@jackamondo
Copy link

Unfortunately i'm still getting this exact error on 6.1.0

Yep! I don't think we've cut a release since that PR got merged

My mistake!! :-)

@Sti2nd
Copy link

Sti2nd commented Jul 28, 2021

Fixed in 6.2.0 https://github.com/segmentio/evergreen/releases/tag/v6.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants