solid-site
purescript-halogen
Our great sponsors
solid-site | purescript-halogen | |
---|---|---|
66 | 11 | |
156 | 1,510 | |
2.6% | 0.3% | |
8.4 | 3.6 | |
14 days ago | about 2 months ago | |
TypeScript | PureScript | |
- | Apache License 2.0 |
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.
solid-site
-
Learn how to install SolidJS with Flowbite and Tailwind CSS
SolidJS is a popular and open-source declarative JavaScript library that empowers reactive UI interfaces for the web that ensures a performant benchmark, leverages the flexibility of JSX and also provides support for TypeScript, Astro, and Vite.
- Porting my old dynamic form render from React to SolidJS
-
Question: Where does Nuxt 3 fit in, in 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
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
SolidJS is a powerful, pragmatic and productive JavaScript library for building user interfaces with simple and performant reactivity. It stands on the shoulders of giants, particularly React and Knockout. If you've developed with React Functional Components and Hooks before, Solid will feel very natural because it follows the same philosophy as React, with unidirectional data flow, read/write segregation, and immutable interfaces.
-
Reactivity Without Virtual DOM
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)
Made with: - Windblade (my own version of Tailwind) - Solid JS - Vite
-
Using ES6 Proxy for Cross-cut Concerns - A Real-world Example
SolidJS
-
Separation of concerns slows you down
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
SolidJS (They've started building the SolidStart and I want to give it a try)
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 Good for Production and what are the Pro and Cons ?
My favorite webapp stack at the moment is Halogen (PureScript UI library); I have always gravitated toward functional programming and strong static typing. For commercial work, however, I use React. While it isn’t perfect it strikes, for me, the right balance of purity, composability, and simplicity.
-
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:
- PureScript and Haskell
- Q: Webapps in Purescript for Haskellers
What are some alternatives?
Ionic Framework - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
solid-start - SolidStart, the Solid app framework
stencil - A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
purescript-flame - Fast & simple framework for building web applications
reagent - A minimalistic ClojureScript interface to React.js
nixos-config - My NixOS configuration
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
purescript-react-basic - An opinionated set of bindings to the React library, optimizing for the most basic use cases
qwik - Instant-loading web apps, without effort
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.