Click the cookie open fortune and the fortune to acquire a new cookie! Almost all fortunes were taken from DuckDuckGo.
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
<div id="root"></div> |
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
<div class="tiler"> | |
<img src="https://picsum.photos/1000/600?image=1067" /> | |
</div> | |
<div class="tiler"> | |
<img src="https://picsum.photos/1000/600?image=1061" /> | |
</div> | |
<div class="tiler"> | |
<img src="https://picsum.photos/1000/600?image=1057" /> |
These rules are adopted from the AngularJS commit conventions.
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
// Rebuilding the `useState()` React Hook | |
// this is what react hooks kinda looks like | |
import React from "react" | |
import ReactDOM from "react-dom" | |
// The values from the useState hook needs to be stored somewhere | |
// Thats where this states | |
const states = [] | |
let calls = -1 |
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> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Add React in One Minute</title> | |
</head> | |
<body> | |
<h2>Add React in One Minute</h2> | |
<p>This page demonstrates using React with no build tooling.</p> |