purescript-halogen
solid
Our great sponsors
purescript-halogen | solid | |
---|---|---|
11 | 52 | |
1,506 | 30,813 | |
0.9% | 1.5% | |
3.6 | 8.9 | |
about 1 month ago | about 18 hours ago | |
PureScript | TypeScript | |
Apache License 2.0 | 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.
purescript-halogen
-
Designing an HTML Component system
There's a framework in purescript from which u can grab some ideas I think: https://github.com/purescript-halogen/purescript-halogen.
-
What can I do in Haskell? UwU
If you wanna do web frontends right now, I'd recommend Halogen for Purescript since it is maintained and has documentation.
-
Building Mystery Mansion Madness without a UI Framework
Before 2012, all of my websites were made using HTML, CSS and a sprinkling of JS. Then, I went all-in on AngularJS, followed by React. I started using Typescript and then PureScript and learned more frameworks like Halogen and Concur. I even wrote my own UI framework called purescript-deku.
-
Inflist, an experiment using PureScript and React
First of all I had to choose what to use to manage the User Interface. I narrowed down to two modules: Halogen and react-basic-hooks (which is a “wrapper” of the unmaintained react-basic). I decided to go with react-basic-hooks just because I work with React on a daily basis and I wanted to understand its interoperability with PureScript. I will 10/10 try Halogen too in the next future since as far as I can see is the most famous and maintained in the PureScript community.
-
State of Scala.js frameworks
There's also Purescript, which is sort of a Haskell for frontend. It has type classes, HKTs and so on and also has a very nice FFI. When it comes to UI libraries there is Halogen which I think is very well though out and allows for using tagless final approach. There's also react-basic but I haven't used that one myself.
-
Solid.js feels like what I always wanted React to be
Yeah? I wrote something to deal with it too (https://github.com/toastal/return-optics) 5.5 years ago. You arguably chose the wrong data as `(model, Cmd msg, Maybe extMsg)` instead of `(model, Cmd msg, List extMsg)` which would give you more flexibility and still functions as a monoid on [] instead of Nothing, but allows multiple messages shrug. I tried this approach more recently and it involved me having to encode all of actions in a massive tree and then I still had issues with certain messages including now having to UUID all elements that that previously I didn't need to think about. It was a mess, but the best I could do with the tools at hand.
If you compare this to Halogen (https://github.com/purescript-halogen/purescript-halogen/blo...) where you still have purity but can set up subscribers and listeners from any component. It's much easier to use and for some components like dialogs, it's much simpler. And this actually isn't the best example because with the latest Halogen, Portals (https://github.com/purescript-halogen/purescript-halogen/pul...) was introduced so you can launch a dialog on the spot instead of even needing to communicate between them at all.
-
7 Useful Tools Written in Haskell
Below you can find the example of a simple button component written in Halogen:
- Q: Webapps in Purescript for Haskellers
-
Haskell as a first timer - Am I missing something ?
Hi just to answer your Purescript question. I've been using Purescript for some time now in production and I really like it. I've been using purescript-halogen which is a reactive framework, similar to React, Vuejs etc. I feel Purescript has a lot of top quality libraries and they have been increasing lately. But just like with Haskell there will be abandoned repositories and undocumented experiments and sometimes it has to do with the fact that both Haskell and Purescript have fewer maintainers than some other languages. But my experience is that a lot of the libraries that are written are well implemented and very usable.
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
-
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
- Flutter 3 の状態管理 (State、ステート): アプローチ (概念)
-
Super Charging Fine-Grained Reactive Performance
Current reactivity benchmarks (Solid, CellX, Maverick) are focused on creation time, and update time for a static graph. Additionally, existing benchmarks aren't very configurable, and don't test for dynamic dependencies.
-
a first look at solidstart
Before diving into SolidStart, it's worth taking a moment to outline the history and motivation behind the creation of Solid. Branded as "a reactive JavaScript library for building user interfaces," Ryan open sourced the framework on April 24, 2018. It was designed as a spiritual successor to the reactive programming model exemplified by KnockoutJS.
-
Deno 1.28: Featuring 1.3M New Modules
As always, less complexity and less expressive power at a given level go hand in hand: as far as I could understand, Deno as it exists right now can’t work with a relatively tame nonstandard approach to JSX such as that in Solid.js[1] (without essentially running a build step at startup), let alone a full language extension like Svelte[2] (there is a thing for that now[3], but I think it still squeezes in a build system somehow).
[1] https://github.com/solidjs/solid/discussions/332
-
Reviewing 2021 and predicting 2022
This one hit late so I put it in July - SolidJS releases version 1.0.0. Never heard of it checkout the perf chart Ryan Carniato wroteup.
What are some alternatives?
qwik - Instant-loading web apps, without effort
SvelteKit - web development, streamlined
Angular - Deliver web apps with confidence 🚀
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces
sycamore - A library for creating reactive web apps in Rust and WebAssembly
Svelte - Cybernetically enhanced web apps
solid-start - SolidStart, the Solid app framework
fast - The adaptive interface system for modern web experiences.
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
purescript-flame - Fast & simple framework for building web applications