Skip to content

Instantly share code, notes, and snippets.

@honkskillet
honkskillet / byte-sizetuts.md
Last active July 18, 2024 08:32
A series of golang tutorials with youtube videos.
@sebmarkbage
sebmarkbage / Enhance.js
Last active January 31, 2024 18:33
Higher-order Components
import { Component } from "React";
export var Enhance = ComposedComponent => class extends Component {
constructor() {
this.state = { data: null };
}
componentDidMount() {
this.setState({ data: 'Hello' });
}
render() {