klis87 / normy

Automatic normalization and data updates for data fetching libraries (react-query, swr, rtk-query and more)
MIT License
257 stars 6 forks source link

Have you considered a high performance schema driven approach? #23

Closed ntucker closed 5 months ago

ntucker commented 5 months ago

@data-client/normalizr creates type safe definitions automatically and handles many different data models like [Unions](https://dataclient.io/rest/api/Union and allows pushing or unshift to Arrays.

klis87 commented 5 months ago

Thanks for the link. I am not sure, but perhaps I already researched it. The biggest question is, correct me if I am wrong, but it requires to define schemas manually first? If yes, normy approach is a different one - adding normalization feature automatically based on request responses, without any manual work required.

klis87 commented 5 months ago

Closing as mentioned library just uses an alternative, not compatible approach.