hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
rlander 2020-03-03T00:09:24.065Z

Thanks for the feedback, much appreciated!

rlander 2020-03-03T00:09:54.065200Z

About the nested html/css, I had to follow the spec here: https://github.com/gothinkster/realworld-starter-kit/blob/master/FRONTEND_INSTRUCTIONS.md

rlander 2020-03-03T00:11:15.065500Z

It's out of my control but I agree with you, I wouldn't nest html this way either.

rlander 2020-03-03T00:12:10.065700Z

Do you have any public link with this kind of dynamic CSS implemented?

rlander 2020-03-03T00:17:08.065900Z

I didn't use any global scoped state within components but I was on the fence about using in pages. Ideally every view would be a product of the parameters, but in the end I wasn't able to find a nice way to preload each route's state so I just left at that.

dave 2020-03-03T04:07:16.066200Z

I think it does make sense to have some global state. A "current errors" cell is a good example, or a global route cell

dave 2020-03-03T04:08:03.066400Z

It's always good when you can encapsulate it when the state is an implementation detail of a particular element

dave 2020-03-03T04:08:20.066600Z

I don't have a good example of dynamic CSS handy, sorry