I'm interested in contributing to Modernize Data Fetching API Project for GSoC'23. I have gone through these resources:
- Plone Training
- TanStack Query Docs
- Superagent Docs
I have also created a small prototype to get a better understanding of the project. I published an npm package
TanStack Query hooks using
superagent for a demo json-server API (endpoint).
I'm new to testing in React, so I'm still exploring testing right now. After that, I'll also try writing tests for the hooks in the library.
I also bootstrapped a Razzle-React project and used the TanStack query hooks package in it.
I tried following this documentation to setup TanStack Query for SSR in Razzle, but I was not able to make it work and the API calls are happening in the client-side only. Guess, it is something to be discussed later.
I have started drafting the proposal for this project, @sneridagh I have some doubts that I need help with:
- Since the project deliverables includes Tested Actions, can I know which testing library are we talking about and can you point me to some resources to learn that library and an example of the kind of tests to be written for the tanstack query actions.
- In the project's PLIP, in the deliverables list, I don't really get the last point:
List of all Components that are affected, so people can check their shadows and update them.
Can you share some references that might give me some background on this.
PS : I'll post any further doubts I have while drafting the proposal in this topic.