How does the untangled support-viewer know what the state has been updated?
not sure what you're asking. The todo mvc app has a functioning example
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.
@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.
thx @stephenway that’s what exactly what I needed to know
anyway, it’s beautiful 🙂
Thank you, it’s been a joy working on it
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 ?
Sure! Mostly your best tools will be npm packages for postcss and gulp https://github.com/untangled-web/untangled-ui/blob/develop/package.json
There are many options out there, but this seems to work well for us
depending on what your style is, you can craft your own preprocessor that lets you write css the way you want to
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
Ok
I'll take a look.
Thanks for sharing !
sure, hope it helps