Simplicity is the ultimate sophistication.
Lighweight and blazingly fast framework using latest browser features with use the platform approach to provide you the greatest setup. No magic included.
Webpack: CommonJS module resolution adds tons of code to every js file. It bundles stuff, which nowadays is bad for http2 and cache'ing resources.
Angular is huge, initial page load is slow. We decided to load all the JavaScript, html and css in the ES6 module dynamically, so initial website loading takes absolutely no time and all component-based resources are added during runtime on-demand.
Vue and React are close to what we are, but they do hell-a-lot of magic. Virtual DOM, Webpack, getters and setters. We replace that with simple and neat lit-html.
- @pika/web - runs npm dependencies directly in the browser. No Browserify, Webpack or import maps required.
- Gulp for building process.
- lit-element for WebComponents.
-
Convention over configuration - we make certain assumtions. When a simple convention can produce less and cleaner code - we go for it.
-
Lightweight - we use lit-html and continue it's thought, that adding any line of code should be considered twice. We don't do fancy stuff.
-
Minimum dependencies - everything that can be done relatively easy using native NodeJS & JavaScript should be done this way. Every external dependency reduces security. We avoid that.
-
No bundling - bundling is obsolete with HTTP/2. We use ES6 modules instead.
-
No magic - we avoid hidden actions, using getter's and setter's, doing some magic stuff and side-effects that you might be unaware of.
-
On-demand-loading - unlike webpack and other bundlers, we load everything into browser on-demand. Every script is an independent module.
-
Only-best-setup - you don't need https or would like to use http1? Sorry, we support only http2 & https setup, because we think is the best. Same goes for old browsers. We prefer to force users to update stuff!
-
Performance - we are focused on performance in every aspect. Fastest building, fastest rendering, fastest compilation, fastest initial page load speed and fastest hot module replacement.