question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Click 'full screen mode' button will raise Failed prop type warning

See original GitHub issue

Expected Behavior

no warning in console

Actual Behavior

Warning: Failed prop type: The prop showBranding is marked as required in StageHeaderComponent, but its value is undefined

screen shot 2019-01-31 at 5 28 26 pm

Steps to Reproduce

  1. npm start

  2. in browser open http://0.0.0.0:8601/

  3. click ‘full screen mode’ button above the canvas screen shot 2019-01-31 at 5 28 39 pm

  4. warning will be displayed in browser console

Operating System and Browser

Mac OS Safari/Chrome/Firefox

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
LukeSchlangencommented, Feb 4, 2019

^Thank you for making that connection @thisandagain! Not sure why I didn’t see that yesterday when making the PR.

1reaction
paulkaplancommented, Feb 1, 2019

Woops sorry no it is not a duplicate, my bad!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix Warning: Failed prop type - reactjs - Stack Overflow
It is really hard to read your code, but it seems that the onChange functions that you are passing to your <input> elements...
Read more >
How To Debug React Components Using React Developer ...
Each component will take a prop called show . If show is falsy, the component will return null . The components will consume...
Read more >
User and Workspace Settings - Visual Studio Code
Activity Bar display on the left of the editor. Open the Settings Editor ... The error can be as simple as a missing...
Read more >
React Hooks cheat sheet: Best practices with examples
Editor's note: This React Hooks tutorial was last updated in January 2021 to include more React Hooks best practices and examples.
Read more >
React Box - Material UI - MUI
The Button component defines its own styles. CSS inheritance doesn't help. To workaround the problem, you can use the sx prop directly on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found