1.0.3 • Published 3 years ago
react-constantine v1.0.3
immutable
HOC for immutable components
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>
)
}