Skip to content

Instantly share code, notes, and snippets.

@bradtraversy
bradtraversy / graphql-queries-mutations.md
Created June 2, 2022 17:37
GraphQL Queries & Mutations

GraphQL Queries & Mutations

These are the GraphQL queries and mutations for the YouTube course.

Get names of all clients

{
  clients {
    name
 }
@sineto
sineto / App.js
Last active July 4, 2024 03:01
User Authentication with Context API and Hooks (useContext, useState)
import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import { UserProvider } from './services/UserContext';
import Routes from './Routes'
function App() {
return (
<BrowserRouter>