untangled

NEW CHANNEL: #fulcro
anmonteiro 2017-02-01T06:31:15.002737Z

re: compassus, I don't really override defui

anmonteiro 2017-02-01T06:31:51.002738Z

but both Compassus and Untangled expect to take control of your parser, which makes them incompatible

anmonteiro 2017-02-01T06:32:49.002739Z

^ theoretically. I haven't tried to set up Compassus routing in an Untangled app. It could be possible in theory, Compassus can wrap another parser (Untangled's for example)

tony.kay 2017-02-01T16:52:20.002748Z

@anmonteiro Oh, I was remembering that you had a defui macro that you had to use..oh, that was the CSS one. That's right, it was the parser on the routing.

anmonteiro 2017-02-01T16:54:11.002749Z

yeah, that was om-css

cqautomatic 2017-02-01T19:00:06.002750Z

Hey all I am wondering if anyone could share experiences embedding an untangled application within the context of another application? Are there any pitfalls? Is it necessary to really think of the Untangled client as mostly being useful when building a single page app? Got to thinking about this while working with dev cards.

tony.kay 2017-02-01T19:01:03.002751Z

An untangled application can stand alone in a div; however, if you pull in other js deps, you could end up in trouble...depending on how you did it. Basically, if you end up with duplicate names in JS, things will break

tony.kay 2017-02-01T19:01:44.002752Z

If you've compiled the app with :advanced optimization, theoretically all of the symbols can be renamed into a minified thing, but again, the possibility of clashes is possible.

tony.kay 2017-02-01T19:02:11.002753Z

So, your biggest challenge would be just keeping the two from stomping on each other's symbol and function definitions

cqautomatic 2017-02-01T19:03:01.002754Z

I was expecting to have to be mindful of potentials for conflict with other included JS, and that is certainly an unknown, but outside of that limitation it is nice to know there are no other real issues.