Live data from Hacker News

ReactXP – A library for building cross-platform apps

microsoft.github.io

11–20 of 124 posts

Re: ReactXP – A library for building cross-platform apps

#12
post #6
post #3

> ReSub > The Skype team initially adopted the Flux principles, but we found it to be cumbersome. It requires the introduction of a bunch of new classes (dispatchers, action creators, and dispatch events), and program flow becomes difficult to follow and debug. Over time, we abandoned Flux and created a simpler model for stores. It leverages a new language feature in TypeScript (annotations) to automatically create s…

I was curious too, so: https://github.com/Microsoft/ReSub Looks similar to rxjs or mobx based state stores.

I've very successfully used the observable pattern since backbone/knockout days with Spine, on web, node, and Titanium. It is easy to create reusable components and follow the data flow, regardless of data source or view implementation.

These days I use virtual DOM for performance but the architecture hasn't changed in years. The observable pattern with viewmodels is very efficient.

Re: ReactXP – A library for building cross-platform apps

#13
post #3

> ReSub > The Skype team initially adopted the Flux principles, but we found it to be cumbersome. It requires the introduction of a bunch of new classes (dispatchers, action creators, and dispatch events), and program flow becomes difficult to follow and debug. Over time, we abandoned Flux and created a simpler model for stores. It leverages a new language feature in TypeScript (annotations) to automatically create s…

> to automatically create subscriptions between components and stores

Looks like someone rediscovered/reinvented dataflow constraints, in a slightly hacky way.

See also: The Siren Call of KVO and (Cocoa) Bindings (http://blog.metaobject.com/2014/03/the-siren-call-of-kvo-and...)

Re: ReactXP – A library for building cross-platform apps

#14
Despite explaining that XP stands for "cross platform", I still think that this is mis-named and many will assume it relates to one of Microsoft's biggest ever brand names with global recognition.

At first glance I decided not to read the article because I thought it irrelevant due to the XP.

Re: ReactXP – A library for building cross-platform apps

#16

I'm missing something. How is this different to react native, which is already supported on ios, android, web and UWP?

>With React and React Native, your web app can share most its logic with your iOS and Android apps, but the view layer needs to be implemented separately for each platform. We have taken this a step further and developed a thin cross-platform layer we call ReactXP. If you write your app to this abstraction, you can share your view definitions, styles and animations across multiple target platforms.
Post reply on HN