Changes UI Components Properties from JS Side

Can I update UI components with their ux:name from JS Side? I want to change some properties of ui elements based on response data. Like:

fetch(url)->then(){ if data.x = 1 panel1.visibility = “hidden” }

No. This is considered bad practice in FuseJS, as JS and UI is running on separate threads.

However, you can data-bind any property to an Observable, and then change the .value of the Observable. This will take care of the async dispatching.