developerFolio icon indicating copy to clipboard operation
developerFolio copied to clipboard

Adding Preact

Open saiteja13427 opened this issue 3 years ago • 2 comments

Summary

I think we can better the performance of the website by adding Preact.

What's new?

Nothing much would change, we would just shift to preact. Everything else would remain exactly same.

Motivation

I recently saw that preact can bring considerable improvement to react projects. So, thought to add it here as well.

Additional context

What is preact? Preact is a 3kb alternative to React. Preact was developed with the goal of building a JavaScript framework that’s small in size and yet offered the same API and features that React ships with.

Preact is fast, and not just because of its size. It’s one of the fastest Virtual DOM libraries out there, thanks to a simple and predictable diff implementation.

What do you think @saadpasta? If you agree that this would improve the project, I would love to take this up!

saiteja13427 avatar May 25 '22 06:05 saiteja13427

If you can create a Preact build of the project and it has considerable improvements then we can consider it. There's one problem to this though, a lot of folks use this repo as a learning project for React so we would lose the status of being a good beginner repo for React :(

kartikcho avatar Aug 28 '22 06:08 kartikcho

That makes sense. Anyways, I will try it out once and let us see the improvements.

saiteja13427 avatar Aug 28 '22 06:08 saiteja13427