Tag: react
-
Convert react/redux webapp from saga/axios to RTK query and RTK listener
Redux saga is a core component of my react/redux applications. Unfortuately Redux Saga has been deprecated and haven’t seen an upgrade in the last year. This blog posts covers the replacement of redux saga and axios with RTK query and RTK listener in a react redux webapp.
-
Export react-router routes for use in Java servlet
This blog post describes a vite plugin that can export static react router routes into a text file, one route per line, that can be easily parsed in a Java servlet to make it possible to reload the react router paths.
-
Convert react app built with frontend-maven-plugin from webpack to vite
frontend-karaf-demo is a small demo application that uses frontend-maven-plugin and webpack to compile a react application into static files that are included as classpath resources into a jar file together with a servlet. This blogpost describes converting the build of this application from webpack to vite
-
Trying out Tailwind CSS on a react webapp
Introduction On November 11 2021 I put trying out tailwindcss on my personal TODO list. In January 2024 I got around to trying out tailwindcss on a react.js web application and this blogpost first describes how I used it and then what I think about it. The application used in the tailwind test The test…
-
Replacing react-datepicker with HTML input element of type date
I replaced “react-datepicker” in two of my react applications, with the built-in <input type=”date”/> date picker, and the resulting reductions in bundle.js size were so significant I felt the need to blog about it.
-
1990-ies picture archives in modern skin
I have written a reactjs web application, that displays images from a 1990-is picture archive in a modern, mobile friendly UI, that also tries to use the available space on large displays (responsive layout from bootstrap v4). The URLs of both the individual pictures and albums, contains opengraph and twitter card meta tags, that makes…