import React from 'react' import { Typography } from '@mui/material' import { makeStyles } from '@mui/styles' import { Link } from '@mui/material' import { Link as RouterLink } from 'react-router-dom' export default function Home(props) { const classes = useStyles() return (
React Query Demo Using the Star Wars API (Built by @Brent_m_Clark )
Why React Query? In this demo you will be able to see how React Query is a significant improvement over redux, mobx, and any other general-purpose state container. No reducers, thunks, or sagas. No ES6 models to maintain in order to tag them as observable. Simply associate a key with your fetch call and let{' '} React Query handle the rest. Ready to get started? Check out the{' '} Films {' '} and{' '} Characters !
) } const useStyles = makeStyles((theme) => ({ main: { margin: '44px 0', '& p': { margin: '12px 0 24px', }, }, }))