Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

HomeView.vue

42 lines1.1 KB

1<template>
2 <div>
3 <h2 class="text-4xl">TanStack Query Demo</h2>
4 <p>Using the Star Wars API</p>
5 <p>
6 (Built by
7 <a
8 class="text-blue-500 hover:underline"
9 href="https://twitter.com/Brent_m_Clark"
10 >
11 @Brent_m_Clark
12 </a>
13 )
14 </p>
15 <h5 class="text-2xl pt-4">Why TanStack Query?</h5>
16 <p>
17 In this demo you will be able to see how TanStack Query is a significant
18 improvement over <strong>redux</strong>, <strong>mobx</strong>, and any
19 other general-purpose state container.
20 </p>
21 <p>
22 No reducers, thunks, or sagas. No ES6 models to maintain in order to tag
23 them as observable.
24 </p>
25 <p>
26 Simply associate a key with your fetch call and let
27 <strong>TanStack Query</strong> handle the rest.
28 </p>
29 <h5 class="text-2xl pt-4">Ready to get started?</h5>
30 <p>
31 Check out the
32 <RouterLink class="text-blue-500 hover:underline" to="/films">
33 Films
34 </RouterLink>
35 and
36 <RouterLink class="text-blue-500 hover:underline" to="/characters">
37 Characters
38 </RouterLink>
39 !
40 </p>
41 </div>
42</template>