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

Update React Error Boundary example with bug fixes and enhanced formatting #1040

Conversation

joseph-ravenwolfe
Copy link

  • Ensure Component is imported in Boundary example
  • Append missing semicolon to setState sample
  • Add space after comments in accordance with other examples
  • Complete the file example with a default export
  • Use consistent indentation in example

Joseph Jaber added 5 commits June 3, 2019 14:52
Export ExampleBoundary to provide a holistically functioning code
example.
The Boundary example uses a mix of both 2 and 4 space indentation. Other
JavaScript examples primarily use 2 space indentation.

Use 2 space indentation consistently throughout the React ErrorBoundary
example.
@dashed dashed self-requested a review June 10, 2019 20:01
@dashed
Copy link
Member

dashed commented Jul 3, 2019

@josephjaber Thanks for contributing! 👍 I'm closing this in favour of #1095

@dashed dashed closed this Jul 3, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants