Skip to content

Instantly share code, notes, and snippets.

@daint6897
daint6897 / ExampleComponent.tsx
Created May 14, 2023 08:23 — forked from ladifire/ExampleComponent.tsx
Demonstrate how to use Error boundary component in Reactjs
import React from 'react';
import { withErrorBoundary } from 'components/common/MartyErrorBoundary';
export const ExampleComponent = () => {
return (
<div>
Component
</div>
);

Keybase proof

I hereby claim:

  • I am daint6897 on github.
  • I am daint6898 (https://keybase.io/daint6898) on keybase.
  • I have a public key ASCfDSMAmX-2xnHqXWumB0G08TmpF1Pb70VdLBHnN4zrOQo

To claim this, I am signing this object: