News for hackers. Stuff that matters.
Re:Exact – a new cross platform UI framework by the Expo team by Xirdus on Tuesday November 10, 2026 @12:24AM (#50436412)
Have you tried WPF and XAML (I guess it's Avalonia and XAML now)? Personally I find it the only good use of XML ever, but it's really, really good. Though I've learned the hard way to keep the advanced features to the minimum and do absolutely any and all calculations in the viewmodel (which, admittedly, excludes 75% of XAML features.)
Re:Exact – a new cross platform UI framework by the Expo team by jdthedisciple on Tuesday November 10, 2026 @01:52AM (#50436927)
In my experience, WPF/XAML is great for Windows, but soon as you move into x-platform territory with MAUI XAML, it's been a total and absolute mess.
Re:Exact – a new cross platform UI framework by the Expo team by miffy900 on Wednesday November 11, 2026 @12:10AM (#50449951)
yes I have- i learned WPF before React (back in 2011) and immediately fell in love with JSX - JSX is what XAML should've been from the get go. Same for razer syntax in blazor.

till this day you can't use linq to render a sequence of elements. Like people.Select(p => <div>{p.FullName}</div>);

it's such a shame XAML and Razer syntax haven't evolved.

Re:Exact – a new cross platform UI framework by the Expo team by doodlesdev on Wednesday November 11, 2026 @06:10AM (#50452030)

   > till this day you can't use linq to render a sequence of elements. Like people.Select(p => <div>{p.FullName}</div>);
In Blazor, you can do it with something like this:

   <div>
       @people.Select(p => @<div>@p.FullName</div>)
   </div>
Rendering-wise, it's better to use a @foreach [0], to avoid creating too many rendering fragments, but it works.

[0]: https://learn.microsoft.com/en-us/aspnet/core/blazor/compone...

Re:Exact – a new cross platform UI framework by the Expo team by miffy900 on Wednesday November 11, 2026 @06:41PM (#50460634)
that is not equivalent - for instance you can't save the result to a variable and work on it further:

    var thePeople = people.Select(p => <div>{p.FullName}</div>);
    var tranformed = thePeople.Select(d => d.Children.First()).DoSomethingElse();
The more I use blazor, the more I realise it's just old-school Webforms with a succinct pseudo-C#-syntax. it's very limiting compared to JSX