This component is designed to render a funny Error Boundary styled like the old Amiga Guru Meditation.
- Use Typescript
- Use React Hooks
- New Documentation and Intercative Playground
You can use either npm
npm i react-amiga-guru-meditation
or yarn
yarn add react-amiga-guru-meditation
First of all, remember to import the component.
import React from "react"
import {AmigaErrorBoundary} from "react-amiga-guru-meditation"
function Application() {
return (
<AmigaErrorBoundary>
<h1>Protected code</h1>
</AmigaErrorBoundary>
);
}
See the complete documentation and intercative playground
Thanks for any your contribute 👏.
Use the GitHub issues.
MIT Licensed. Copyright (c) Giovambattista Fazioli 2019.