lightningrodlabs / rea-playspace

Holochain app to play with REA accounting
32 stars 7 forks source link

Tech Debt: Chapter One #168

Closed adaburrows closed 1 year ago

adaburrows commented 2 years ago

There are several things to focus on in this ticket:

adaburrows commented 2 years ago

Notes about what's left to refactor

ui/src/elements.ts

ui/src/components/util.ts

I don't think we can do much with this now. But it will almost completely disappear with https://github.com/lightningrodlabs/rea-playspace/issues/118#issuecomment-1254753106

ui/src/data/utils.ts

ui/src/data/YatiTreeStore.ts

Part of Yaati.

ui/src/data/YatiReactHook.ts

Part of Yaati.

ui/src/data/YatiReactContext.ts

ui/src/data/hooks/useStore.ts

The general hooks for data stores.

ui/src/data/hooks/wrapReadable.ts

The wrapper for a Svelte Readable.

ui/src/data/hooks/

ui/src/types/valueflows.ts

ui/src/data/models/Valueflows

ui/src/data/models/Application

Let's keep this where it is for now.

ui/src/types/holochain.ts

ui/src/data/DataProviders/