View machine.js
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View machine.js
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View machine.js
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View initialize.diff
This file contains 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
--- src/bootstrap/index.js 2020-06-05 09:41:29.000000000 +0100 | |
+++ src/services/initialize.ts 2020-06-05 09:41:29.000000000 +0100 | |
@@ -1,52 +1,47 @@ | |
-/* @flow */ | |
+import _ from "lodash" | |
+import { slash } from "gatsby-core-utils" | |
+import fs from "fs-extra" | |
+import md5File from "md5-file/promise" | |
+import crypto from "crypto" | |
+import del from "del" |
View machine.js
This file contains 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
const noop = async () => {} | |
const initialize = noop | |
const customizeSchema = noop | |
const sourceNodes = noop | |
const buildSchema = noop | |
const createPages = noop | |
const createPagesStatefully = noop | |
const calculateDirtyQueries = noop | |
const extractQueries = noop | |
const runStaticQueries = noop |
View machine.js
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
View machine.js
This file contains 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
Machine({ | |
id: `inc-build`, | |
initial: `fetchingEnvironment`, | |
context: { | |
refreshBody: null, | |
}, | |
states: { | |
fetchingEnvironment: { | |
invoke: { |
View IconSprite.tsx
This file contains 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 React, { FC, HTMLAttributes } from "react"; | |
interface Props extends HTMLAttributes<SVGSVGElement> { | |
name: string; | |
width?: number | string; | |
height?: number | string; | |
} | |
export const IconSprite: FC<Props> = ({ | |
name, |
View App.tsx
This file contains 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 React, { useState, useEffect, useCallback } from "react"; | |
import * as PIXI from "pixi.js"; | |
import { Stage } from "@inlet/react-pixi"; | |
import Spine from "./Spine"; | |
window.PIXI = PIXI; | |
const mixes = [ | |
{ |
View index.html
This file contains 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
<body> | |
<div id="root"></div> | |
<script src="index.tsx"></script> | |
</body> |
NewerOlder