Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Forever fixing bugs

Andrew Krause AKrauseDesign

💭
Forever fixing bugs
View GitHub Profile
@AKrauseDesign
AKrauseDesign / .env
Created May 10, 2021
Transitioning DocumentFragment into React.Fragment
View .env
BROSWER=none
@AKrauseDesign
AKrauseDesign / counter.js
Created May 7, 2021
Create a React Component Without React
View counter.js
export function CounterComponent() {
// get the ID of root from index.html
const root = document.getElementById("root")
// set counter to 0
let counter = 0;
// create fragment
const fragment = document.createDocumentFragment()