A "Proper FRP" template system for RxJS #7257
dariomannu
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ladies and Gentlemen,
As a FRP fan, like several of you, my experience working with many popular JS frameworks was unsatisfactory.
I had to do something about it, so as a spinoff from another project I created Rimmel (for Reactive Markup Language): https://github.com/hellomenu/rimmel
Rimmel comes with first-class support for observables, subjects, promises.
Unlike with most other frameworks, there's no boilerplate for you to manage subscriptions, cleanup, etc.
Everything Rx you know you can use Today.
Data binding is done declaratively as if HTML natively understood how to map HTML nodes, attributes, classes, datasets either as sources or sinks (yes, you can attach observables to class names, data attributes, and inline CSS styles, too).
A conceptual example:
You can get started with Rimmel in no time. No Webpack, JSX or Babel needed, just pure, native ES6 tagged templates.
https://codepen.io/fourtyeighthours/pen/bGKRKqq
https://codepen.io/fourtyeighthours/pen/ZEqvXNa
https://codepen.io/fourtyeighthours/collections/
(more examples on codepen and github)
The package comes at slightly less than 3KB gzipped and minified.
Try it out and have fun (I know I'm biased, but this has changed my life)
Beta Was this translation helpful? Give feedback.
All reactions