Skip to content

Conversation

benbender
Copy link

@benbender benbender commented Aug 7, 2021

This is a proof of concept porting svelte-query over to directly use react-query/core as it's foundation and only be a thin layer on top to adapt it to svelte[kit].

  • All dependencies updated
  • Outdated sapper examples removed
  • Port to directly utilize react-query/core
  • Removed Svelte-components and return reactive stores from useQuery(), useMutation, etc...
  • Adapt APIs & exports from vue-query & react-query/react
  • Make stories work and tests green
  • Basic, rough example with sveltekit
  • Tests green (needed to adapt a few), Storybook-stories generally working
  • Add devtools
  • Testing
  • Finalization
  • Adaption to be "sveltier" and hook into sveltekit-Apis like load() or the hooks-mechanism (half done)

The port generally went really smooth and I think that is the direction to go with this package. That said, be warned, it's a rough POC with near to no testing and some rough edges to be worked out. Play with it. Have fun. But don't bet your childrens lives on it!

Would love to hear some feedback/thoughts/critics/whatever :)

@benbender benbender changed the title [POC] Use direct dependency on react-query/core [POC] Use direct dependency on react-query/core, make all results reactive Aug 7, 2021
@benbender
Copy link
Author

As I don't have any sparetime for this project atm, I'm closing this for now.

@benbender benbender closed this Aug 23, 2021
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

Successfully merging this pull request may close these issues.

1 participant