codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
30 stars 26 forks source link

Create RDF Collection Hook #483

Closed timbot1789 closed 11 months ago

timbot1789 commented 11 months ago

Creates a shared hook for use with data models and parsing, and refactors useContactsList and useCivicProfile to use them.

The hook is designed to act as a base for shared logic for other hooks, which can then directly expose simple interfaces to components.

It takes the following props:

It returns all the properties from React query along with a few additional ones:

leekahung commented 11 months ago

Hey @timbot1789, just wanted to make sure about this PR. Is this ready for review or it's still in progress?

timbot1789 commented 11 months ago

Hey @timbot1789, just wanted to make sure about this PR. Is this ready for review or it's still in progress?

This is ready for review