Flux(由 Facebook 提供)使用套接字处理服务器端更新
Do Flux (by Facebook) handle server side update with sockets
我在找Flux combined with React and I read a lot's about Dispatcher, Actions and Store. But I didn't understand if Flux handle (natively) data update on server side by broadcasting sockets as 'Actions' ? (like MeteorJS do with publish/subscribe)
或者我是否必须单独处理外部 API 和套接字调用?
不,这根本不是由图书馆处理的。此功能的任何实现都需要在用户代码(或其他库)中进行。
我在找Flux combined with React and I read a lot's about Dispatcher, Actions and Store. But I didn't understand if Flux handle (natively) data update on server side by broadcasting sockets as 'Actions' ? (like MeteorJS do with publish/subscribe)
或者我是否必须单独处理外部 API 和套接字调用?
不,这根本不是由图书馆处理的。此功能的任何实现都需要在用户代码(或其他库)中进行。