flux-examples

  • u2_259629
    了解作者
  • 69.4KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-15 08:54
    上传日期
#flux-examples 使用 , 和示例同构应用程序。 服务器端渲染的React组件和存储实例被脱水并使用发送给客户端。 然后,client.js(由编译)引导并重新分配调度程序实例和存储,使其与服务器上的状态相同。 此仓库中有多个示例: 端口。 -使用简单同构路由。 -使用同构路由。 -港待办事项MVC 。 另外,对于功能齐全的应用程序,您可以查看fluentible.io docs网站存储库以获取更多集成示例: https://github.com/yahoo/fluxible.io 用法 npm install cd <folder> npm run dev 打开http:// localhost:3000 有关正在发生的事情的更多信息,可以使用DEBUG=* node查看服务器上的完整调试输出。 执照 除非另有说明,否则该软件可以在Yahoo!下免费使
flux-examples-master.zip
内容介绍
#flux-examples [![Dependency Status](https://david-dm.org/yahoo/flux-examples.svg)](https://david-dm.org/yahoo/flux-examples) [![devDependency Status](https://david-dm.org/yahoo/flux-examples/dev-status.svg)](https://david-dm.org/yahoo/flux-examples#info=devDependencies) Example isomorphic [Flux](http://facebook.github.io/react/docs/flux-overview.html) applications using [Fluxible](http://fluxible.io), [fluxible-router](https://github.com/yahoo/fluxible-router), and [fluxible-plugin-fetchr](https://github.com/yahoo/fluxible-plugin-fetchr). The server-side rendered React components and store instances get dehydrated and sent to the client using [express-state](https://github.com/yahoo/express-state). The client.js (compiled by [webpack](https://github.com/webpack/webpack)) then bootstraps and rehydrates the dispatcher instance and the stores to same state as what they were on the server. There are multiple examples in this repo: * [Chat](https://github.com/yahoo/flux-examples/tree/master/chat) - Port of [Facebook's Flux chat example](https://github.com/facebook/flux/tree/master/examples/flux-chat). * [Fluxible Routing](https://github.com/yahoo/flux-examples/tree/master/fluxible-router) - Simple isomorphic routing using [Fluxible](http://fluxible.io). * [React Routing](https://github.com/yahoo/flux-examples/tree/master/react-router) - Isomorphic routing using [react-router](https://github.com/rackt/react-router). * [To Do](https://github.com/yahoo/flux-examples/tree/master/todo) - Port of [ToDo MVC](https://github.com/tastejs/todomvc). Alternatively, for a fully featured application you can check out the [fluxible.io](http://fluxible.io) docs website repository for more integration examples: * https://github.com/yahoo/fluxible.io Usage ----- ``` npm install cd <folder> npm run dev ``` Open http://localhost:3000 For more information on what's going on, you can use `DEBUG=* node` to see full debug output on the server. # License Unless otherwise specified, this software is free to use under the Yahoo! Inc. BSD license. See the [LICENSE file][] for license text and copyright information. [LICENSE file]: https://github.com/yahoo/flux-examples/blob/master/LICENSE.md
评论
    相关推荐
    • ext BUG修复补丁
      NULL 博文链接:https://sbfeeq.iteye.com/blog/905414
    • 经典Bug参考
      NULL 博文链接:https://lihbobo.iteye.com/blog/587261
    • j2me BUG
      NULL 博文链接:https://buerkai.iteye.com/blog/1119025
    • j2me BUG
      NULL 博文链接:https://buerkai.iteye.com/blog/1119025
    • IE-bug
      NULL 博文链接:https://citi21558541.iteye.com/blog/1097974
    • j2me BUG
      NULL 博文链接:https://buerkai.iteye.com/blog/1119025
    • unidoc_image_bug:重现https
      Unidoc图片错误 参见 跑步 $ go run pdf_add_image_to_page.go blank.pdf -1 quince.jpg 0 0 320 output.pdf 结果 $ ls -la 4,911 Apr 2 16:44 blank.pdf 1,561,519 Apr 2 16:30 quince.jpg 18,745,526 Apr 2 16:...
    • android socketio fix https bug
      android socketio.修改Gottox/socket.io-java-client中https 不能连接服务器的问题。
    • jbpm bug
      NULL 博文链接:https://lieyan133.iteye.com/blog/616572
    • artDialog修改bug
      NULL 博文链接:https://yi5414289.iteye.com/blog/1714279