DEV Community

Preact + Typescript + Parcel + Redux Zero: Rebuilding the QMENTA Front-End focusing on Performance and Minimalism.

Albert Alises on September 17, 2018

At QMENTA we have been rebuilding the front-end from scratch, seeking simplicity and performance not only in design, but also in the technology sta...
Collapse
 
insuusvenerati profile image
Sean

This is awesome work! Why has no one commented on this yet! O.o I'm firing up a workspace to play with this right now :)

Collapse
 
aalises profile image
Albert Alises

Thank you very much Sean!! Tried to gave an overview of pretty much everything (except styling ๐Ÿ’…). The boilerplate used for the project is exactly this one:

k1r0s / bleeding-preact-starter

TypeScript ยท Preact ยท Redux-zero => frontend starter with bleeding features. Check it out!

Bleeding Frontend Starter

Preact + TypeScript + Redux-Zero + Moar..

This starter project contains many features to speedup development and have fun which is pretty handy today.

Features:

common folder contains Connect decorator for redux-zero (which is not yet included on the lib)

Powered by Webpack

Heading production env -> Polyfills, Shims & Extensions

I recommend to install core-js and import all its contents on your main file import 'core-js'


but switching Webpack for Parcel.

If you have any suggestion or idea on how to extend this stack or improve, or any question, let me know! ๐Ÿค˜

Collapse
 
adrienpoly profile image
Adrien Poly

thanks for this great article. It is very detailed. I discovered Redux-zero will give it a try soon with preact.
Thumbs up!!!

Collapse
 
pierre profile image
Pierre-Henry Soria โœจ

Great article Albert! Really useful ๐Ÿ™‚