Introducing Fileless.js — Front-End Development Without Files.

Sebastian Carlos
2 min readMay 19, 2022

--

Photo by Ilya Pavlov on Unsplash

Files are so last century. In the modern world of web development, we don’t need files anymore.

You are making a website, so all you really need is a browser. Forget about messy project files and file systems. It’s time for a file-less future.

You will need components, of course. React has nice ones, and so does Vue. But you don’t need to put them into files. You can just keep them in a div element in your browser. If you need to edit its code, you can load VSCode inside the div.

You can even keep your data in the browser; LocalStorage is enough for most websites. If you need more power, you can always use IndexedDB and save images as binary data.

And when you’re ready to deploy your website, good news! It’s already deployed. In Web3, everything’s deployed at all times. No need to build or compile anything.

What about file extensions?

They are not needed anymore. We used extensions to specify the programming language, but we can use JavaScript for everything these days. Case in point, CSS-in-JS.

What about file names?

There are two hard problems in computer science: cache invalidation and naming things. If you can’t solve the first one, you might as well not bother with the second.

What about directories?

Remember, we are dealing with div element components. You can drag and drop them wherever you want on the browser screen if you need to group them.

What about version control?

Making websites and apps will be so easy that we’ll only need one developer per project. Say goodbye to merge conflicts. If you want to go back to a previous version, just press “back” on your browser.

How to re-use components?

If you don’t have files, you don’t need reusable components. If the same component needs to be in two places simultaneously, it will blink and teleport very fast into all required locations. You won’t even notice unless your monitor has a 144hz refresh rate.

Are you convinced yet? If not, I don’t know what will.

Where we’re going, we don’t need files; Only Fileless.js™️

Thanks for reading! If you enjoy humorous tech stories like these and want to support me to keep writing forever, consider signing up to become a Medium member. It’s $5 a month, giving you unlimited access to stories on Medium. If you sign up using my link, I’ll earn a small commission. You can also follow me on Medium and Twitter.

--

--

Sebastian Carlos
Sebastian Carlos

Responses (10)