Submit templates for repl.it/templates here.

← Back to all posts
The fastest React.js Starter Template in the world
amasad (2497)

If you've ever used React.js on Repl.it you probably know how painful it is -- it is slow to start up and the filewatching-updating cycle makes it buggy to code in.

I've been working on a super fast React.js template that feels native to Repl.it, that means:

  • starts up instantly
  • it's small and doesn't take up disk space quota (13mb vs 300mb)
  • hit run and it refreshes the webview
  • it compiles really quickly and works both in dev and prod the same

Here it is, let me know what you think

Commentshotnewtop
DynamicSquid (2677)

That should be the default profile pic :)

HahaYes (1058)

hmmm isn't react usually really slow?

amasad (2497)

@HahaYes yes but isn't this fast? ✌️

HahaYes (1058)

@amasad yes... How did you do it?

ArnavBansal (15)

@HahaYes It makes use of esbuild, a javascript compiler written in Go https://github.com/evanw/esbuild

HahaYes (1058)

whoa that is awesome

PDanielY (983)

Does it work on nextjs? Plus I don't really see people ever make react projects on repl.it. we need more react projects

amasad (2497)

@PDanielY I think because it kinda sucked. This will make it better.

It doesn't work on nextjs yet but I think they're working on it. I got in touch with them.

DSASumer (0)

make one for PYTHON 🐍

Coder100 (4506)

react is javascript... @DSASumer

TheMemeManHimse (53)

oh my gosh its beautiful

ChezCoder (1484)

yay! also can you make syntax highlighting for EJS?

CodingCactus (2846)

@theangryepicbanana is working on highlighting, so I guess they could add that to their list if it isn't

theangryepicbanana (1636)

@ChezCoder Should be out sometime this week hopefully!