@episclera/multipack-with-react

An example of react multipack package

Usage no npm install needed!

<script type="module">
  import episcleraMultipackWithReact from 'https://cdn.skypack.dev/@episclera/multipack-with-react';
</script>

README

@episclera/multipack-with-react

An example of react multipack package. Part of multipack monorepo

Site | Getting Started | API | Blog

GitHub Multipack

Getting started

  • Install: npm i @episclera/multipack-with-react
import React from 'react'
import { Counter, useCounter } from '@episclera/multipack-with-react'

const App = () => {
  const { count, increment, decrement } = useCounter(0)
  return (
    <Counter count={count} onDecrement={decrement} onIncrement={increment} />
  )
}

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Or you can sponsor via Open Collective

Open Collective

Author

@episclera/multipack © Episclera, Released under the MIT License.
Authored and maintained by Episclera with help from contributors (list).

If you like this repository star⭐ and watch👀 on GitHub