react-retro-hit-counter
react-retro-hit-counter copied to clipboard
🆕 Go back in time with this 90s-style hit counter.

React Retro Hit Counter creates numbers using SVG segments and a canvas border. This is totally unfriendly to screen readers. I have a few thoughts for how to make it...
When working on this component, you can either use the React Storybook stories, or [the demo](https://joshwcomeau.github.io/react-retro-hit-counter/). The demo is a much nicer dev experience, since you have full access to...
Right now, the only tests in this project are for a small helper function that pads strings. I can think of a few other things that would benefit from testing:...
This component mimics a "seven-segment display": https://en.wikipedia.org/wiki/Seven-segment_display I chose a simple implementation at first: each segment is exactly the same shape and size, and I'm just rotating them around. Unfortunately,...