reflex-frp / reflex

Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse.
https://reflex-frp.org
BSD 3-Clause "New" or "Revised" License
1.07k stars 149 forks source link

OpenCollective/Patreon? #466

Open timbess opened 2 years ago

timbess commented 2 years ago

I have to say, getting started with this project and Obelisk was SO seamless. All the examples worked out of the box on the first try, the tutorial works, and in a few hours I was able to package a full frontend/backend app in a scratch docker container with a few lines of nix.

I'd love to support it if you guys had a patreon or opencollective account setup.

Seriously, hats off to everyone involved in this. Great work.

ali-abrar commented 2 years ago

Thank you for the kind words. We don't currently have an opencollective account or anything similar, but it's something we're considering. We'd love to hear more about how you're using Obelisk and any suggestions you might have.

timbess commented 2 years ago

The Haskell APIs are very nice and the server side rendering/etc. all work perfectly out of the box. It's really very cool, glad to see people taking a different approach than building clones of Elm. It seems a lot easier to compose lots of little components into a larger application this way.

I haven't gone super deep into my project yet, but I'm planning to build an interactive graph editor with it. I think the main thing that I struggle with is figuring out how to integrate non-Haskell stuff with the nix build. Things that npm or webpack would normally handle like compiling SCSS or importing npm packages to wrap with FFI code.

It would be nice to see examples that compare to a webpack project and show the equivalent nix setup. Also just like generally being able to see what all options I can pass to the nix functions Obelisk provides because I'm not familiar enough with nix to read through and figure that out (also nix being very dynamic makes it hard to trace sometimes).

So I guess TLDR; Nix can be complex, so having examples that compare it to something familiar would be helpful. Maybe a cookbook of nix recipes would be useful?