Our great sponsors
|1 day ago||11 days ago|
|GNU General Public License v3.0 or later||-|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
The benefits of Web Component Libraries
4 projects | dev.to | 27 Feb 2023
Web component browser APIs aren't that many, and not that hard to grasp (if you don't know about them, have a look at Google's Learn HTML section and MDN's Web Components guide); but creating a web component actually requires taking care of many small things. This is where web component libraries come in very handy, freeing us of having to think about some of those things by taking care of them for us. Most of the things I'll mention here are handled one way of another by other libraries (GitHub's Catalyst, Haunted, Hybrids, Salesforce's LWC, Slim.JS, Ionic's Stencil) but I'll focus on Google's Lit and Microsoft's FAST here as they probably are the most used web component libraries out there (ok, I lied, Lit definitely is, FAST not that much, far behind Lit and Stencil; but Lit and FAST have many things in common, starting with the fact that they are just native web components, contrary to Stencil that compiles to a web component). Both Lit and FAST leverage TypeScript decorators to simplify the code even further so I'll use that in examples, even though they can also be used in pure JS (decorators are coming to JS soon BTW). I'll also leave the most apparent yet most complex aspect for the end.
5 projects | reddit.com/r/web_design | 9 Dec 2022
Look into https://stenciljs.com/ .5 projects | reddit.com/r/web_design | 9 Dec 2022
We used https://stenciljs.com/ for web components to be consumed by angular, AEM and react at a previous employer. It uses tsx/jsx. Components are easy to write and it has good documentation.
Hexagonal architecture as a solution to the obsolescence of UI frameworks
4 projects | dev.to | 7 Nov 2022
For the creation of web components, even though writing in vanilla js is an option, we have chosen to do it via a dedicated framework, which will solve many potential integration/bundling problems. The choice of the framework will be made according to different factors that are not part of the scope of this article.
Ask HN: Help me pick a front-end framework
13 projects | news.ycombinator.com | 11 Sep 2022
Maybe have a look at Stencil (+ Ionic). https://stenciljs.com/
- Simple to learn
- Doesn't change all the time
- First-class TypeScript support
- Good default UI via Ionic
- Compiles to Web Components (although to be honest, this doesn't really matter)
- Easy testing
- Ionic as a company invests in Ionic the framework + Stencil the compiler. Might be around in 10 years, altough things could change. But this is true for all frameworks.
- You basically get an iOS/Android app for free, if you just dump the output in Capacitor (also developed by Ionic the company).
- Stencil is not very widespread as a frontend framework.
A Letter to D1sc0rd for not Supporting the Linux Desktop
7 projects | reddit.com/r/linux | 29 May 2022
because react-native is only reactlike. I may or may not want to stick with that. I think something like this is leading us towards a better and less UI lib specific approach. https://github.com/ionic-team/stencil/ . I don't think is 100% where we end up, but it is based on web components, so it's moving the entire ecosystem forward, not just a slice of it.
By Crayons and For Crayons
12 projects | dev.to | 13 May 2022
The app is built using vanilla Web Components without using any component publishing libraries like Stencil, Lit and so on. The reason being I met with some roadblocks in building a drag-n-drop editor using these libraries. Actually the Crayons Team itself is using Stencil to build the Crayons components using TypeScript and React-like component semantics and finally publish them as platform native Web components and React wrappers for the same. You can find out more about this in the Stencil documentation.
Why we chose WebComponents for our Design System
4 projects | dev.to | 5 May 2022
A Quick Guide to Mitosis: Why You Need It and How You Can Use It
5 projects | dev.to | 4 May 2022
The Case for Web Components
2 projects | dev.to | 14 Apr 2022
While you can build components directly from the supporting Web APIs, you might find it productive to use a library that's been built to support this task. Lit and StencilJS are two of several libraries with acompanying tooling to help you build web components. And because they compile to the same 'target', they give you an additonal advantage: if you choose to switch web component libraries at some point in the future, you can make the switch for new components without having to rewrite the old ones, and use both in the same application.
Learn how to install SolidJS with Flowbite and Tailwind CSS
6 projects | dev.to | 20 Feb 2023
Porting my old dynamic form render from React to SolidJS
3 projects | dev.to | 15 Feb 2023
Question: Where does Nuxt 3 fit in, in 2023?
6 projects | dev.to | 14 Feb 2023
In 2023 there are a wealth of developer options for front-end: React, Vue, Svelte, Solid and many more.
Using Solid Start with GitHub pages
6 projects | dev.to | 13 Feb 2023
You may or may not yet have heard about Solid Start, which is the much anticipated upcoming meta framework for Solid.js currently being in beta.
Invoking Solid.js components from your Ember apps
2 projects | dev.to | 12 Feb 2023
Reactivity Without Virtual DOM
5 projects | news.ycombinator.com | 10 Feb 2023
Things like Solid (https://www.solidjs.com/) also have no virtual DOM, and the improves are in higher ceiling for performance, lower memory usage, simpler DX (components are not re-executed, there aren't any dependency arrays everywhere), easy high performance (no useRef this and useRef that to make things fast, no useCallback, no React.memo, these things are just obsolete).
I also build my portfolio with Tailwind (links and details in coments)
5 projects | reddit.com/r/tailwindcss | 2 Feb 2023
Made with: - Windblade (my own version of Tailwind) - Solid JS - Vite
Using ES6 Proxy for Cross-cut Concerns - A Real-world Example
3 projects | dev.to | 28 Jan 2023
Separation of concerns slows you down
2 projects | dev.to | 27 Jan 2023
For the time being, this is how I approach web development on pretty much every project I have “architectural control” over. That’s how I worked with Solid.js and Tailwind CSS for the past 2 years. That’s how Vrite is being built. Has worked pretty well so far…
What I want for 2023
2 projects | dev.to | 16 Jan 2023
SolidJS (They've started building the SolidStart and I want to give it a try)
What are some alternatives?
lit - Lit is a simple library for building fast, lightweight web components.
Svelte - Cybernetically enhanced web apps
vite-ssg - Static site generation for Vue 3 on Vite
css-modules - Documentation about css-modules
shoelace-css - A collection of professionally designed, every day UI components built on Web standards. Works with all framework as well as regular HTML/CSS/JS. 🥾
webcomponents - Web Components specifications
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
catalyst - Catalyst is a set of patterns and techniques for developing components within a complex application.
stencil-storybook-demo - This demo show how to run, build & deploy Storybook and Stencil from one repository
purescript-halogen - A declarative, type-safe UI library for PureScript.