4.0.2 • Published 21 days ago

@qcases/common-ui v4.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
21 days ago

Intro

Common utils and ui component for building frontend

Pre-requisites

Build project

  • Install dependencies: npm i
  • Run: npm run build

Publish to the qcases organization

NOTE: need to run build before publish

Install to test in different repo

  • Copy absolute path of root folder
  • Install to consuming repo using: npm i <absolutePath> Example: npm i /Users/john/Desktop/Projects/qcases-common-ui

Notes

To avoid error multiple react instances (only for testing lib on LOCAL), example error log on browser console: Cannot read properties of null (reading 'useMemo') Ref: https://stackoverflow.com/questions/56021112/react-hooks-in-react-library-giving-invalid-hook-call-error`

  • In Your Application:

    • cd node_modules/react && npm link
    • cd node_modules/react-dom && npm link
  • In Local Library root folder, for example @qcases/common-ui:

    • npm link react
    • npm link react-dom
4.0.2

21 days ago

4.0.1

24 days ago

4.0.0

25 days ago

2.3.1-alpha

8 months ago

2.3.0

8 months ago

2.2.0

9 months ago

2.3.1

8 months ago

3.0.0-alpha

8 months ago

2.1.0

9 months ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago