-
Fold
- compose
- concat
- liftA3
- pre
-
Lens
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ApolloServer, gql } from "apollo-server-micro"; | |
let book = { | |
name: "The Hungarian Sausage", | |
author: "Ben Grunfeld", | |
}; | |
const typeDefs = gql` | |
type Book { | |
name: String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useQuery, useMutation } from "@apollo/react-hooks"; | |
import { gql } from "apollo-boost"; | |
const GET_BOOK_DETAILS = gql` | |
query { | |
book { | |
name | |
author | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ApolloProvider } from "@apollo/react-hooks"; | |
import ApolloClient, { gql } from "apollo-boost"; | |
import { BookInfo } from "../components/BookInfo"; | |
const Home = ({ data }) => { | |
const client = new ApolloClient({ | |
uri: "http://localhost:3000/api/graphql-data", | |
}); | |
return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useEffect, useRef, useState } from "react"; | |
const focus = (ref: Reference<HTMLInputElement | null>) => { | |
if (ref && ref.current) { | |
ref.current.focus(); | |
} | |
}; | |
// Step 1. Create a ref that can be used for focus | |
const inputEl = useRef<HTMLInputElement | null>(null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.485visainsurance.com.au/2013-statistics | |
<h1 class="entry-title">2013 Stats For 485 Visa Applications</h1> | |
<p class="byline author vcard"><time class="updated" datetime="2013-12-30T03:48:26+00:00">December 30, 2013</time> By <a href="./../author/gili/index.html" rel="author" class="fn">Gili Shiffman</a></p> | |
</header> | |
<div class="entry-content"> | |
<p>The newest statistics released by the Australian government shows a huge growth in the use of 485 visa’s by overseas students who complete there studies in Australia.</p> | |
<p>While 20.7% of students chose to renew their student visa as they wanted to do further studies in Australia, or the remaining 79,3% approx 30% move to a temporary <strong>graduate subclass 485 visa</strong>.</p> | |
<p><img class="aligncenter size-full wp-image-2843" alt="Temporary Subclass 485 Visa Graduation" src="https://www.485visainsurance.com.au/wp-content/uploads/2013/12/Temporary-Subclass-485-Visa-Graduation.jpg" width="599" height="249" /></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en-AU" prefix="og: http://ogp.me/ns#"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Applying for Permanent Residency while on a Student Visa - 485 Visa Insurance</title> | |
<meta property="og:locale" content="en_US"> | |
<meta property="og:type" content="article"> | |
<meta property="og:title" content="Applying for Permanent Residency while on a Student Visa - 485 Visa Insurance"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...Array(5).keys()]; |