codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
25 stars 24 forks source link

[Enhancement] - Migrate Message utility functions to custom hook with React Query #509

Open leekahung opened 8 months ago

leekahung commented 8 months ago

Describe the Current Behavior/Feature:

With React Query in place, we could start migrating some of the utility functions we've previously built to a custom hook.

Proposed Implementation (if applicable):

Move some of the functions from session-helper, session-core, or MessageContext over to a new hook called useMessageList.

Depending on how heavy the refactoring load would be, would likely implement this in parts.