1.0.3 • Published 3 years ago

react-constantine v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

immutable

HOC for immutable components

NPM JavaScript Style Guide

Install

npm install react-constantine

Usage

import React, {Component, FC} from 'react';

import Immutable from 'react-constantine';

export const Example: FC = () => {
  return (
    <Immutable>
      <div>
        <h2>You can't delete it</h2>
      </div>
    </Immutable>
  )
}

License

MIT © https://github.com/vladlazutkin