A very short example of how to pass a function into setState in React. read full post…
A convenience function for writing mixed color and/or font-style text using the HTML5 canvas, which is made possible by the ctx.measureText method. read full post…
A brief redux-like example of why I think it’s useful to use curly braces around the statements after case clauses inside JavaScript switch statements. read full post…
A quick technical guide to fixing hanging or freezing issues with Parcel when bundling a project that uses Sass with import calls. read full post…
A brief how-to for running a local testing server to view local files (file:///) as if they were on a web page. This helps get around browser issues that only show up for local files. read full post…

Peter Coles

Peter Coles

is a software engineer living in NYC who is building Superset 💪 and also created GoFullPage 📸
more »

github · soundcloud · rss