react-amiga-guru-meditation

A React Error Boundary styled like the Amiga Guru Meditation

Usage no npm install needed!

<script type="module">
  import reactAmigaGuruMeditation from 'https://cdn.skypack.dev/react-amiga-guru-meditation';
</script>

README

Overview

version license issues type last-commit npm

This component is designed to render a funny Error Boundary styled like the old Amiga Guru Meditation.

image

New in v2.0.x

Installation

You can use either npm

npm i react-amiga-guru-meditation

or yarn

yarn add react-amiga-guru-meditation

Basic Usage

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>
  );
}

Documentation

See the complete documentation and intercative playground

Contributing

Thanks for any your contribute 👏.

Bugs 🐛

Use the GitHub issues.

License

MIT Licensed. Copyright (c) Giovambattista Fazioli 2019.