akello-io / akello

Healthcare OS for interoperability and AI-driven data processing
Apache License 2.0
36 stars 19 forks source link

Bug: Unable to use react hooks under @akello/react package #200

Closed vselvarajijay closed 9 months ago

vselvarajijay commented 9 months ago

When trying to add useState inside any component under packages/react from the apps/cocm-registry app the following error occurs. This issue is related to issue-197, however that specific case was resolved. This one is to ensure any component under packages/react can leverage react hooks

image

Steps to setup and run the app:

To setup your local dev:

  1. python scripts/akello.py setup (set your environment variables)
  2. python scripts/akello.py start server
  3. python scripts/akello.py start cocm (in another terminal)

Create a user account

Login and reproduce the bug

Acceptance criteria:

Discord

Feel free to join the discord server there if you would like to discuss this issue: https://discord.gg/WSqNrWBKKw. A thread has been created #development --> GH - #200

rajdip-b commented 9 months ago

I'll try to look into this today.