purescript-refract
purescript-concur-core
Our great sponsors
purescript-refract | purescript-concur-core | |
---|---|---|
1 | 3 | |
49 | 28 | |
- | - | |
0.0 | 0.0 | |
almost 6 years 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-refract
-
Shpadoinkle UI: Web development for Haskell
I've worked on something similar for Purescript (https://github.com/pkamenarsky/purescript-refract) and recently also Haskell (https://github.com/pkamenarsky/refract-replica, no docs yet but the API comes very close to the Purescript version).
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-concur-react - Concur UI Framework for Purescript
shpadoinkle
purescript-flame - Fast & simple framework for building web applications
purescript-concur-streaming-poc - A small POC for Concur async streaming without Free or Aff
refract-replica - Refract backend for Replica
elm-ts - A porting to TypeScript featuring fp-ts, rxjs6 and React
Cycle.js - A functional and reactive JavaScript framework for predictable code
yew - Rust / Wasm framework for creating reliable and efficient web applications