purescript-flame
purescript-concur-core
Our great sponsors
purescript-flame | purescript-concur-core | |
---|---|---|
9 | 3 | |
289 | 28 | |
- | - | |
3.2 | 0.0 | |
10 months ago | about 1 year ago | |
PureScript | PureScript | |
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.
purescript-flame
-
Is there an Elm like framework for cross-platform apps?
There's Purescript with two libraries implementing the Elm architecture, flame and elmish (on React). Purescript only targets JS, but that can be embedded in mobile and desktop apps.
-
Is Elm a good choice for prototyping?
I will also add that Flame is a great way to get Elm Architecture goodness in PureScript.
- Flame: A PureScript front-end framework inspired by the Elm architecture
-
Hacker News top posts: Jun 2, 2021
Flame: A PureScript front-end framework inspired by the Elm architecture\ (30 comments)
-
Tips for getting started with Purescript web app development for a Haskeller?
Im having a good time using https://flamepurs.org/.
-
Q: Webapps in Purescript for Haskellers
Halogen is definitely the most widely-used library (and someone has already posted links for that), but I just wanted to mention Flame, which has some pretty decent getting started documentation.
-
Bad compile times in a Haskell+Servant app have me wondering: how easy is it to code a NodeJS app using PureScript, is anyone here doing it and to what extent (e.g. just tests, business logic in PS everything else in JS)?
Thanks u/suntzusartofarse. There is a upcoming version in the works, with new features https://github.com/easafe/purescript-flame/pull/36
purescript-concur-core
-
Flame: A PureScript front-end framework inspired by the Elm architecture
1. Application wide state is easy since you can always access state from parent components in child components. The problem occurs when you want to update parent state from child components.
Fortunately, you can make your own abstractions in Concur. For example, you can use a "Wire" - which lets multiple child components share and update parts of the parent's state (https://github.com/purescript-concur/purescript-concur-core/...). Note how this abstraction just uses the high level Concur API, and doesn't depend on the UI backend. With a wire the code might look something like this -
-- A wire into parent's state, accessible using `with`, and updateable using `wire.send`
-
Shpadoinkle UI: Web development for Haskell
Have you looked at signals? AFAICT they are exactly what you are looking for. A signal is just Cofree widget (https://github.com/purescript-concur/purescript-concur-core/blob/master/src/Concur/Core/FRP.purs#L26).
What are some alternatives?
purescript-halogen - A declarative, type-safe UI library for PureScript.
purescript-concur-react - Concur UI Framework for Purescript
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
shpadoinkle
Cycle.js - A functional and reactive JavaScript framework for predictable code
elm-ts - A porting to TypeScript featuring fp-ts, rxjs6 and React
purescript-concur-streaming-poc - A small POC for Concur async streaming without Free or Aff
gqless - a GraphQL client without queries
purescript-refract - Optical Purescript UI library based on React and the Elm architecture, but without the boilerplate.