async-library / future

The future of React Async and react-async-hook
12 stars 0 forks source link

Package structure #1

Open ghengeveld opened 5 years ago

ghengeveld commented 5 years ago

We should settle on a general direction for package structure and naming. This issue is not for discussing package details, but to discuss where to cut them up or merge them. Refer to packages/react-async/src for an overview of what's currently there. The goal is to offer a way to later add new features without affecting the existing functionality, by using separate packages.

Current idea:

Questions:

AlbertBrand commented 5 years ago

Sounds like a proper split, although @async-library seems a bit long. Also, vue-fetch-composition can be split off from the Vue parts.

For getting cross lib props right I would generate them, probably from a typed model (TS seems fine for this). A description in JSON would suffice as source model as well.