untangled

NEW CHANNEL: #fulcro
2017-03-22T11:11:45.428146Z

How does the untangled support-viewer know what the state has been updated?

tony.kay 2017-03-22T14:43:42.916850Z

not sure what you're asking. The todo mvc app has a functioning example

2017-03-23T13:16:26.044358Z

I was looking for a hook that I can use to know whenever the state updates. Imagine an implicit trailing read to every transact. I couldn't work out how the :current-position read was always current.

stephen 2017-03-22T15:26:43.994077Z

@baptiste-from-paris The css in untangled-ui was originally based on an internal set of elements designed for our employer, and then later adapted partially to conform to Google’s material design where it made sense. Some of it conforms to their spec, but other parts are just well designed in it’s own way. Under the hood it’s written with only spec compliant CSS compiled using PostCSS.

baptiste-from-paris 2017-03-22T15:27:21.010294Z

thx @stephenway that’s what exactly what I needed to know

baptiste-from-paris 2017-03-22T15:27:36.016661Z

anyway, it’s beautiful 🙂

stephen 2017-03-22T15:28:38.042089Z

Thank you, it’s been a joy working on it

baptiste-from-paris 2017-03-22T15:29:54.073649Z

I have to say that I struggle a lot when I have to produce CSS. Can you share any tools or workflow you are using ?

stephen 2017-03-22T15:31:43.119919Z

Sure! Mostly your best tools will be npm packages for postcss and gulp https://github.com/untangled-web/untangled-ui/blob/develop/package.json

stephen 2017-03-22T15:31:54.124422Z

There are many options out there, but this seems to work well for us

stephen 2017-03-22T15:32:28.139045Z

depending on what your style is, you can craft your own preprocessor that lets you write css the way you want to

stephen 2017-03-22T15:33:04.153662Z

I’m generally against using syntax sugar or logic in my stylesheets so I stick to just future spec plugins that let me write future code

baptiste-from-paris 2017-03-22T15:34:41.194279Z

Ok

baptiste-from-paris 2017-03-22T15:34:53.199327Z

I'll take a look.

baptiste-from-paris 2017-03-22T15:35:09.205627Z

Thanks for sharing !

stephen 2017-03-22T15:35:16.208139Z

sure, hope it helps