purescript-concur-core
shpadoinkle
purescript-concur-core | shpadoinkle | |
---|---|---|
3 | 4 | |
29 | - | |
- | - | |
4.7 | - | |
3 days ago | - | |
PureScript | ||
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-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).
shpadoinkle
- Shpadoinkle UI: Web development for Haskell
-
Haskell Frontend with HOTWire? What are your thoughts?
https://gitlab.com/platonic/shpadoinkle/-/issues/29 https://gitlab.com/platonic/shpadoinkle/-/issues/100 https://gitlab.com/fresheyeball/Compactable/-/issues/3 https://github.com/ghcjs/ghcjs/issues/775
What are some alternatives?
purescript-concur-react - Concur UI Framework for Purescript
ka - Experimental playground for neuron
purescript-flame - Fast & simple framework for building web applications
penrose - Haskell to JavaScript compiler, based on GHC
elm-ts - A porting to TypeScript featuring fp-ts, rxjs6 and React
purescript-refract - Optical Purescript UI library based on React and the Elm architecture, but without the boilerplate.
purescript-concur-streaming-poc - A small POC for Concur async streaming without Free or Aff
concur-replica - Server-side VDOM UI framework for Concur
Cycle.js - A functional and reactive JavaScript framework for predictable code