Ian Dunn

Ian Dunn

WordPress Developer

Menu

Skip to content
  • Home
  • About
  • Archives
  • Contact

The Simplest Way to Build a Gutenberg Block

The "Content Blocks: Advanced" repository has an example of the absolute minimal code you need to build a custom block, and progress from there.

Continue reading...

Posted on December 26, 2019 by Ian Dunn. Posted in JavaScript, WordPress | Tagged complexity, Gutenberg, Morten Rand-Hendriksen | Leave a comment

Figure out What Feels Funny, and Why

Mira Jacob has some great advice on what to do when you feel pressured to give an answer right away, but your gut is telling you there's a problem with it.

Continue reading...

Posted on December 18, 2019 by Ian Dunn. Posted in Communication | Tagged Hurry Slowly, Mira Jacob | Leave a comment

A Short Guide to Consensus Decision Making

The Short Guide for Consensus Decision Making is a compelling introduction to the process.

Continue reading...

Posted on December 11, 2019 by Ian Dunn. Posted in Communication, Ethics and Values | Tagged Consensus | Leave a comment

Minimal CacheStorage API Example

It's not easy to find examples of using the CacheStorage API outside of service workers, or with the `await` operator, so I put one together.

Continue reading...

Posted on November 29, 2019 by Ian Dunn. Posted in JavaScript, WordPress | Tagged apiFetch, await, CacheStorage, Chrome, fetch, Firefox, Quick Navigation Interface, Safari, Service Workers | Leave a comment

Composition vs Context to fix Prop Drilling in React Apps

People will often argue that either Composition or Context should be used to remove prop drilling, but I think it's better to use them both in a more nuanced way.

Continue reading...

Posted on November 25, 2019 by Ian Dunn. Posted in JavaScript | Tagged Composition, Context, destructuring, encapsulation, Hooks, prop drilling, React | Leave a comment

Sending Custom Data between WordPress Customizer Preview and Controls Panes

Arbitrary data can be sent back and forth between the Customizer's Control and Preview panes by reusing the Messenger class.

Continue reading...

Posted on November 21, 2019 by Ian Dunn. Posted in JavaScript, WordPress | Tagged Customizer, postMessage | 2 Comments

`await` is the Best Thing to Happen to JavaScript in Years

`await` makes dealing with JavaScript Promises simple and intuitive.

Continue reading...

Posted on October 14, 2019 by Ian Dunn. Posted in JavaScript | Tagged await, Mostafa Gaafar, Promises | Leave a comment

Post navigation

← Older posts
Newer posts →

Subscribe via Email

Feeds & Profiles

  • RSS
  • WordPress.org
  • GitHub
  • HackerOne
  • LinkedIn