@codewell/render-gate

Alpha version

Usage no npm install needed!

<script type="module">
  import codewellRenderGate from 'https://cdn.skypack.dev/@codewell/render-gate';
</script>

README

@codewell/render-gate

Installation

Alpha version

npm install @codewell/render-gate

Basic Usage

import RenderGate from '@codewell/render-gate';

const SomeComponent = (props) => (
  <>
    <RenderGate condition={true}>
      This renders
    </RenderGate>

    <RenderGate condition={false}>
      This does not render
    </RenderGate>
  </>
);

Contribution

Please help by submitting issues and pull requests here on github Read more on codewell's webpage