Give a brief description of what this PR does.
e.g. /src/components/SomeComponent.js
| // No Security | |
| { | |
| "rules": { | |
| ".read": true, | |
| ".write": true | |
| } | |
| } |
| var voice; | |
| for(v of window.speechSynthesis.getVoices()) { | |
| if(v.name === 'Fred') { | |
| voice = v; | |
| break; | |
| } | |
| } | |
| const utterance = new SpeechSynthesisUtterance('Fitter. Happier. More productive.'); | |
| utterance.voice = voice; |
| const functions = require("firebase-functions"); | |
| const admin = require("firebase-admin"); | |
| const fetch = require("node-fetch"); | |
| admin.initializeApp(functions.config().firebase); | |
| const firestore = admin.firestore(); | |
| // write a function to take the data and return the JSON you want to upload to the database | |
| const normalizeData = require("./src/normalizeData"); |
| npm i contentful firebase next next-redux-wrapper prop-types react react-dom react-icons react-redux redux redux-thunk uuidv4 | |
| prime ? npm i classnames primeflex primeicons primereact | |
| "scripts": { | |
| "dev": "next", | |
| "build": "next build", | |
| "start": "next start" | |
| }, | |
| var data = { | |
| currentValue: 0, | |
| operator: "" | |
| } | |
| const operators = ["+", "-", "x", "/"] | |
| keys.forEach(key =>{ // output | |
| key.addEventListener('click', () =>{ | |
| // if not a number and an operator then we can "save" the display value to our data object and get ready to do some math |
| /* | |
| ============================================== | |
| CSS3 ANIMATION CHEAT SHEET | |
| ============================================== | |
| Made by Justin Aguilar | |
| www.justinaguilar.com/animations/ | |
| Questions, comments, concerns, love letters: |
| import React, { useState, useEffect } from "react"; | |
| import { myPromise } from "../api"; | |
| const index = () => { | |
| const [data, setData] = useState([]); | |
| useEffect(async () => { | |
| const result = await myPromise(); | |
| setData(result); | |
| }, []); | |
| return ( |
| import React, { useState, useEffect } from "react"; | |
| import { myPromise } from "../api"; | |
| const index = () => { | |
| const [data, setData] = useState([]); | |
| useEffect(async () => { | |
| const result = await myPromise(); | |
| setData(result); | |
| }, []); | |
| return ( |
Give a brief description of what this PR does.
e.g. /src/components/SomeComponent.js
| cssText: "" | |
| length: 0 | |
| parentRule: null | |
| cssFloat: "" | |
| X | |
| alignContent: "" | |
| alignItems: "" | |
| alignSelf: "" | |
| alignmentBaseline: "" | |
| all: "" |