Is it excessive to spend a whole day on a small UI component for a Redux Toolkit demo app that’s actually supposed to demonstrate state management? I don’t think so. It has to look great at all sizes and orientations.

Follow

Here ‘Tis. Yes, the very shallow sticky nav at the top of the screen. Yes, whole day. With a nod of homage to familyconsignmentstore.com/

It's under a CW because, logos...

So the flowbite-react batteries-included component was 500+ LOC including inline JS - yuck! Here's mine:

Show thread

@lavenderlens Ooh, that's nice... if it will play nice with various orientations and sizes, as you say.

@davoloid thanks Dave yeah I'm pleased with it. Currently debugging whole app cause my Vite won't rollup the JS for a build however...

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.