Skip to content

Instantly share code, notes, and snippets.

View b0yblake's full-sized avatar
👋
Follow my passion!

Anthony b0yblake

👋
Follow my passion!
View GitHub Profile
@b0yblake
b0yblake / render-props.md
Created June 12, 2023 07:30 — forked from heygrady/render-props.md
Avoiding HOC; Favoring render props
@b0yblake
b0yblake / StorageHelper.ts
Created June 22, 2021 07:06 — forked from Digiman/StorageHelper.ts
Simple helper module on TypeScript for using local storage (HTML5) in browser. Also have the class to store the list of emails that need to use for autocomplete in the some pages.
// module with classes and logic for working with local storage in browsers via JavaScript
// see also: http://professorweb.ru/my/html/html5/level5/5_1.php
module StorageHelper {
export interface IStorageItem {
key: string;
value: any;
}
export class StorageItem {
key: string;