Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Typescript, graphql-codegen, and react-query #32

Open
oohwooh opened this issue Mar 10, 2023 · 2 comments
Open

Port to Typescript, graphql-codegen, and react-query #32

oohwooh opened this issue Mar 10, 2023 · 2 comments
Milestone

Comments

@oohwooh
Copy link
Member

oohwooh commented Mar 10, 2023

At some point, I want to port clear to Typescript, using graphql-codegen and react-query

Additionally, I am also working on a more advanced system for CRUD forms using gql-codegen and RJSF for a separate project. This should be relatively easily portable to clear, and will provide a lot of improvements to the developer and user experience when it comes to CRUD forms.

react-query will allow us to move away from server side rendering + data fetching, which should improve the perceived speed of the site significantly, and reduce our fly bill.

Another huge benefit of react-query is it allows us to mock data, drastically lowering the barrier of entry to potential contributors. (Right now we either need to give them private keys + admin token, or for them to run gql-server and all other microservices locally)

@oohwooh oohwooh added this to the 2.0 milestone Mar 10, 2023
@Nexite
Copy link
Contributor

Nexite commented Mar 13, 2023

instead of react-query, moving topo to use apollo client would also be an option, not sure what the performance different is. https://www.apollographql.com/docs/react/data/queries/

@Nexite
Copy link
Contributor

Nexite commented Mar 14, 2023

okay nvm actually, nextjs app directory looks like the right answer to this. it would allow for almost the same as react-query but probably more efficient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants