Fork me on GitHub

Fulcro 3.1.2 released. Adds a string buffered input wrapper that makes it easier to make custom HTML5 inputs that use “real” data types (like keywords, ints, dates) in the model, even though the input itself only supports strings. It helps particularly with the tricky issue of the strings not always being valid values in the real data type domain (and sets the domain value to nil in that case).

fulcro 48

Trying to get a feel for Fulcro, I’ve used re-frame+Reagent in the past, why would I want to switch to Fulcro?


Yes I’ve read some of the book and have gotten through 5 of the videos on YouTube Tony put together. I’m trying to understand the trade-offs though of using Fulcro versus re-frame+Reagent, hx, uix, etc


Especially with the changes that have happened more recently with React (hooks, etc)


For my part I'm not a fan of listeners, events for writing UI code. More maintainable to program to a model (app state) and let the UI take care of itself.

Drew Verlee21:01:19

@U0D5RN0S1 what do you mean listeners?


Where there are subscriptions. Your code subscribes to be told about certain events. I was a Java Swing programmer for a long time, then JavaFX. There's many different expressions used, but it all looks and feels like listeners to me.


So futures, promises, reactive programming, callbacks - all feel like listeners of some sort, and all result in messy, hard to understand code if they are the mainstay of the programming model.


@U0D5RN0S1 what are your thoughts on hx/uix/other alternatives?


Obviously with Fulcro the UI is listening to the app state. But the application programmer only needs to deal with app state. If those alternatives make it so the application programmer doesn't have to deal with listeners, then the next challenge: do they have something as powerful as EQL for querying?


I'm evaluating Fulcro for the first week and here is my 2 cents. The whole front-end craft is infinite fractal of big complexities as well as small complications. What I see finishing reading Getting started chapter is that all hard architectural decisions are made for me. I mean things I'm aware of, but don't touch in real projects because of budget/timing considerations (e.g. query co-location & composition). With Fulcro, I expect to get rid of ad-hoc architectures while still dealing with important micro-details like this one:


@UDQ2UEPMY thanks for that, I'll take a watch tonight. Been looking for someones experience with using it in production successfully