react

"mulling over state management stuff"
dominicm 2020-05-05T15:02:17.365900Z

Just getting round to this for the first time: https://crank.js.org/blog/introducing-crank interesting stuff & good explanation of suspense & the problems related to it with caches.

lilactown 2020-05-05T15:32:35.366200Z

there was some good discussion on hacker news and reddit about it

lilactown 2020-05-05T15:33:38.367300Z

personally I think the author misses a bit of the point of concurrent mode, but it’s really neat to see different strategies used to solve the component problem and how they play out

lilactown 2020-05-05T15:33:46.367600Z

here’s my response to the author: https://news.ycombinator.com/item?id=22904784

lilactown 2020-05-05T15:35:09.368Z

be warned: 80% the HN discussion is not very constructive 😂

lilactown 2020-05-05T15:35:40.368300Z

here’s dan abramov’s response on reddit: https://www.reddit.com/r/javascript/comments/g1zj87/crankjs_an_alternative_to_reactjs_with_built_in/fnkkgg3/

orestis 2020-05-05T16:16:57.369500Z

Do we have a good FSM / statecharts lib in ClojureScript ? Like xState?

lilactown 2020-05-05T16:17:59.369900Z

not to my knowledge. I’ve been wanting to play with xstate in CLJS

lilactown 2020-05-05T16:18:22.370500Z

I think there’s a lot of work there that a sole developer can’t really support, which is how many CLJ(S) libs work

orestis 2020-05-05T16:23:48.371200Z

We just need to decompose the problem I guess :)

orestis 2020-05-05T16:25:19.373400Z

I’ve coded a bunch of FSM stuff 10 times already, always a bastardized version of statecharts to avoid the various downsides. Good to know that now the JS community has explored the space.

dominicm 2020-05-05T20:06:36.374400Z

Abramov's comment is interesting, and the pre rendering on hover is by far the best suggestion I've seen for concurrent mode.