entria / entria-fullstack

Monorepo Playground with GraphQL, React, React Native, Relay Modern, TypeScript and Jest
MIT License
497 stars 73 forks source link

Propostal to use relay experimental #118

Closed thicodes closed 4 years ago

thicodes commented 4 years ago

About UserList, will we add routes+preloadQuery in preparation or preparedloadQuery within itself?

renanmav commented 4 years ago

How would you preload the query?

thicodes commented 4 years ago

@renanmav So, I thought of these 2 solutions:

What do you think?

renanmav commented 4 years ago

Both solutions are valid. I prefer to preload on mouse hover.

thicodes commented 4 years ago

@renanmav Great! Im going to create a package with an issue-tracker router abstraction and bring the routes, creating a new PR. Thanks!

renanmav commented 4 years ago

Actually I'm already working on this here with Typescript ~flow fede~ \o/

thicodes commented 4 years ago

Wow. Very good! Thank you very much. I will need a lot @renanmav