preact-custom-element
solid
preact-custom-element | solid | |
---|---|---|
2 | 52 | |
343 | 31,114 | |
0.9% | 0.8% | |
6.1 | 8.8 | |
7 months ago | 8 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
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.
preact-custom-element
-
I don't miss React: a story about using the platform
I avoid using them, except when having to expose a component to a third party. Then I'd use something like https://github.com/preactjs/preact-custom-element, https://stenciljs.com/docs/custom-elements or https://github.com/solidjs/solid/tree/main/packages/solid-el....
As far as I see, there is nothing that WCs provide which isn't already solved, in a better way, both for devs and users.
And making a framework that use custom elements and shadow DOM for component-based logic and encapsulation seems like a purely philosophical approach to adhere to some vision of "platform purity".
-
Web Components 101: Framework Comparison
Preact
solid
-
Resources for understanding the Solid compiler
The reactivity core, which is in https://github.com/solidjs/solid This is where you'll see the reactivity runtime implementation. Take note that Solid's reactivity doesn't rely on compile-time magic
-
Are there any go backends that work with solid?
I did try this but I'm not sure what you mean with the ssrLoadFrom. Is there any documentation on this, all I could find was the examples folder in solidjs: solid-ssr?
-
Solid JS compared to svelte?
This is very true. I really hate svelte single file components. But then I tried JSX for breaking things down. I love solid but I don't feel really good about angle brackets within C style syntax. I saw this Scala library that stick with simple statically typed function syntax than html tags. I don't understand why people still wants to stick with xml like tags. In laminar markup is written like this scala div( h1("Hello world", color := "red"), inputCaption, input(inputMods, name := "fullName"), div( ">>", button("Submit"), "<<" ) ) I wish solid team makes their HyperScript syntax as performant as JSX.
-
Building an E-commerce Store: A Step-by-Step Guide with Solidjs and Medusa
What is Solid?
-
Learn how to install SolidJS with Flowbite and Tailwind CSS
import logo from './logo.svg'; import styles from './App.module.css'; import 'flowbite'; function App() { return (
Edit
Learn Solid, Tailwind CSS and Flowbite Toggle Flowbite modalsrc/App.jsx
and save to reload. -
Does solid start support CSR or SSG if so how?
There is example of each technique in Solid's main repo: https://github.com/solidjs/solid/tree/main/packages/solid-ssr/examples
-
Proposal for separation of concerns and immutable state
I basically came up with an idea that is much like flutter's bloc pattern, and probably waht ryansolid was referring to in his reply to this issue when he said he made his own version of redux that codifies state changes instead of immutable state.
- Flutter 3 の状態管理 (State、ステート): アプローチ (概念)
- SolidJS Crash Course - Building a REST API Client - Part 1
-
Stores and indexed accessors
After seeing how inactive this sub was, I took it to Github: https://github.com/solidjs/solid/discussions/1440
What are some alternatives?
dark-mode-toggle - A custom element that allows you to easily put a Dark Mode 🌒 toggle or switch on your site:
qwik - Instant-loading web apps, without effort
lit - Lit is a simple library for building fast, lightweight web components.
SvelteKit - web development, streamlined
DataFormsJS - 🌟 DataFormsJS 🌟 A minimal JavaScript Framework, standalone React and Web Components, and JSX Compiler for rapid development of high quality websites and single page applications.
Angular - Deliver web apps with confidence 🚀
uhtml - A micro HTML/SVG render
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
visx - 🐯 visx | visualization components
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
eureka - Lucene-based search engine for your source code
inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces