James Hill's repositories
minimal-analytics
Minimal versions of popular analytics libraries. Reduce the impact of third-party scripts on your application.
component-elements
Create a custom element from any component with these tiny functions (2KB GZipped, ~1KB Brotli). Preact and React currently supported
preact-parser
Avoid use of dangerouslySetInnerHTML with this lightweight (2KB) function. Can parse HTML strings into VDom trees, ready to render in your Preact components
audit-teamcity-report
Simple CLI that loads local project dependencies and outputs an NPM audit in TeamCity service message format.
example-astro
Basic Astro setup
immutable-parsejs
Parse a JS object or array/map into an Immutable collection. Makes use of ImmutableJs List, and Record primitives.
render-delay-example
Example illustrating the performance implication of a render delay
retry-fetch
Simple, lightweight wrapper around the native fetch() API. Only ~400 bytes gzipped. Provides helpful abstrations, like request retry, data type parsing, and more.
11ty-website
Documentation site for the Eleventy static site generator.
DefinitelyTyped
The repository for high quality TypeScript type definitions.
github-readme-stats
:zap: Dynamically generated stats for your github readmes
glsl-sandbox
Shader editor and gallery.
hubot-google-hangouts-chat
Hubot adapter for Google Chat.
hypnode-server
Provides a simple utility to run server side to build HTML strings
jameshill.dev
House of James
module-from-string-issue
Demonstrates issue with relative path imports using TypeScript
preactement-elementmoved
Repro of custom element being moved in DOM
preactement-htmlslots
Example useage of slot elements and children with Preactement
preactement-nested
Reproduction for nested components issue
typescript-build-tasks
Simple demo outlining a TypeScript build task setup
vc-react-native
Example setup for VC React Native app. Include setup with TypeScript and linting for conventions.