Miroslav PetrikHow to share the next/font variable with TypeScriptThe other day I’ve noticed some --font-sans CSS variable being used in my tailwind config:Mar 1Mar 1
Miroslav PetrikOuroboros type in TypeScriptLet’s define a function eatsOwnTail, input of which will depend on & will be a transformation of its output:Dec 6, 2023Dec 6, 2023
Miroslav PetrikModeling an empty type element in the EdgeDBLet’s say you want to categorize the products in your database. Each category will have a name and an icon:Nov 24, 2023Nov 24, 2023
Miroslav PetrikLet’s create a Generic Select component in React & TypeScriptWith React we have a plethora of choices how to get a Select component. Likely our UI library contains one. If not, we usually install a…Jul 6, 2023Jul 6, 2023
Miroslav PetrikDatabases are about to change the way that React changed the webappsIn the next year we will celebrate the 10th anniversary of React. In the pre-react era, the dominant paradigm for UI development was the…Nov 15, 2022Nov 15, 2022
Miroslav Petrikinableneo TechnologyA tip for frontend apps: Develop components in isolationIt happens that some UI components of your frontend app are developed on the way as the feature is being implemented for the first time…Oct 27, 2020Oct 27, 2020