Frontend undefined
Prabashara Seneviratne


My name is Prabashwara Seneviratne but I mostly use my nickname bash. I am a Senior Frontend Developer and you can find my posts on web and frontend development on this site.

You can follow me on Twitter or Mastodon or sign up to the newsletter below to catch my latest posts and the interesting things I encounter in the world of frontend.


A summary of libraries that are commonly used with React


How to build a Create React App (CRA) project for production
How to fix a 404 Not Found error when refreshing a React app
How to fix 404 errors when using React Router with Nginx
How to use Docker to setup a React development environment
How to use Docker Compose to host a React web app
How to dockerize a React web app


How to set up a backend for a React app?
Which frontend framework should you learn as a beginner?
Is it a library or a framework?
Do you need to know Javascript to learn React?
How much Javascript do you need to know to learn React?
How to pick a frontend library or tool?

React Demystified

Is your React useState hook not updating state immediately? Here's how to fix it
Why multiple calls to set state with the React useState hook don't work
console.log printing twice in React? That is React StrictMode in action


Sample Dockerfile for hosting a React web app


Code is for humans
The way we code changes: 8 years of frontend libraries
It takes time