Skip to content

Front-end, design and the odd bear pun.

I’m Develobear. I write about JavaScript, React and interface design, and I made react-rewards.

The Develobear mascot: a grinning black bear with an earring

react-rewards

Micro-interactions for React. Reward your users with confetti, emoji, balloons, fireworks or a pop of stars.

  • 1,686 GitHub stars
  • 147K npm downloads a week
  • Draws with WebGL2, and falls back to Canvas 2D
  • About 7.5 kB gzipped for useReward and confetti
  • Built with TypeScript, for React 18 or later
  • Stays quiet for people who prefer reduced motion

Why I care about microinteractions

Fire a react-rewards effect
Pick an effect. The library loads when you first reach for it.
In your app
const ref = useRef(null);
const { reward } =
  useReward(ref, confetti);

<button
  ref={ref}
  onClick={() => reward()}
>
  Reward me
</button>

human-o-matic

An MCP server that re-performs programmed drum MIDI section by section, steered by your answers.

  • 117 drum libraries with 161 kits built in
  • Written in Python
  • Never writes over your input file
  • The same session and seed always give the same file
  1. AgentWhat's the energy in bars 25 to 40 (china riding, double kick)?
  2. YouIt's a breakdown, full power.
  3. AgentTaking that as maximum energy, tight, little light and shade: kick about 121 to 127, backbeats 124 to 127, timing spread about 2.0 ms. It's in song-2.mid: drag it into the DAW and play from bar 25. Sound right?
An example from the README. The words and numbers depend on the song.