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 April 18, 2024 16:57
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>