Introducing Shadniwind: Shadcn UI for React Native & Unistyles

For React Web developers, shadcn/ui changed the game by offering copy-paste components you actually own. Today, we are bringing that same “source-distributed” philosophy to the mobile world with the release of Shadniwind. Shadniwind is a collection of UI components specifically built for React Native and React Native Web. It isn’t just a wrapper; it is…

Read Article

Remix JS: Does Remix use process.env or import.meta.env?

Does Remix use vite’s import.meta.env or process.env? The answer is, both. However it’s better to rely on vite’s import.meta.env because of 2 things: 1. Only VITE_ prefixed environment variables are imported 2. It’s also available in the non-SSR context, while process.env is a NODE thing only and not propagated to the browser. So what does…

Read Article

Uncaught RangeError: date value is not finite in DateTimeFormat.format()

Playing with Flowbite React and their Datepicker component, I had data coming from the backend in this or similar form:

aka

React is a bit of a cringy special child. Angular, no problemo. Vue, no problemo. Anyhow. I have to set defaultValues in a React-hook-form form, because React is special with controlled and…

Read Article