'in may 2022, is there something newer for united development of UI for web and mobile than xamarin and react (native)?

I am aware of Is react-native good for both web development and mobile development which was written a year ago and the reply is also old.

I am a C# JS developer. I wonder if there is something out there new that I code ONCE and it outputs to web and mobile ? Currently i am using Ajax in my app to get data from server and a quarter of my code is JS functions (client side libraries) and 3/4 is server side (IIS) I looked into Node.JS, react native, xamarin. I am confused because much of the information is based upon older versions or bias and I cannot find conclusively which of these or anything else newer would be a better fit for me. I want to code the UI once (generated in ajax, comes from server as html to display as array of productInfo and the JS parses and displays the fields with some text), code the client side logic once (have it in js), and the server side logic once (done)

I am willing to modify my code, and the architecture, I understand this must be done, but I please need to know which is the best solution knowing I am strong in JS and C# but have no idea about Java

I tried using MVVM architecture (Xamarin, Razor), and spent months migrating the solution only to find out I cannot output a common GUI simultaneously to mobile and web and have common client side logic, so this defeated the purpose of the transition so i rolled back to C#, Ajax.

Also a big issue i found was Xamarin needs approval for each update, whereas node js (if i am correct) does not. Not sure about react, etc. it's confusing and I couldn't find an encompassing article discussing all the latest 2022 frameworks with a comparison of all the pros and cons so i could make a fully informed decision for my case.

Please i need guidance in this :)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source