happypeter / react-meteor-book Goto Github PK
View Code? Open in Web Editor NEW当 react 遇到 meteor 中文书
当 react 遇到 meteor 中文书
https://github.com/rackt/react-router/blob/master/UPGRADE_GUIDE.md#0133---100
0.13.3 -> 1.0.0 做了大改动
目前我使用的是 0.13.3
再谈谈开发风格的偏好:React 推荐的做法是 JSX + inline style,也就是把 HTML 和 CSS 全都整进 JavaScript 了。Vue 的默认 API 是以简单易上手为目标,但是进阶之后推荐的是使用 webpack + vue-loader 的单文件组件格式:
reply 现在大家都说很复杂,有很多企业级的考量,所以用 meteor 做后端
基本都用 npm 装吧,据说比 bower 更好。
http://christianalfoni.github.io/react-webpack-cookbook/Configuring-react-js.html
例如安装 react 一定要用 npm 装,直接在html 中用 script 标签好像很 low 的感觉。
lhttps://github.com/gaearon/react-hot-boilerplate 在 billie 的机器上不工作,没有报错,就是保存修改后,后台 Log 根本就没有反应。
我有一个思路:
可以输入 e.com/login 用 js 把 "login" 取到,然后根据这个字符串决定去用哪个 jsx 就行了,这样就用不到 pushstate 接口了。
https://www.khanacademy.org/
strikingly.com
如果要引入 state 讲解:https://laracasts.com/series/do-you-react/episodes/5?autoplay=true 是最好的方式
今天邮箱推送过来的视频,太惊喜了,之前跟Petter学的rails,现在作为一名前端开发我在自学react,没想到Peter那么给力,正好是我需要的,如果可以,能否详细讲解一下node.js+react开发后部署的过程,用nginx来代理。非常感谢
因为官方的 flux/relay 架构都复杂,不适合个人开发者
meteor + react 是最简单的入门方案
iHealth 的 CTO Kevin 带来 iHealth Framework 技术,整个 stack : React+Meteor+Cordova+Docker+Galaxy+MongoDB
data = {
name: "jon",
name: "peter"
}
一个 div 里面包含可以显示四个头像的位置,默认这四个位置都是灰色圆形,每次我填写一个 data 项目,就可以填充一个头像进去。
头像是已经托管在公网上的,例如 http://media.haoduoshipin.com/peter.jpg
http://readme.io/ 首页的 “What's a Developer Hub?” 部分的图标很有意思,
直接用 div 摆出的各种图形,然后用 css3 加动画。
https://www.tildedave.com/2015/01/07/i-find-gulp-extremely-frustrating.html
gulp 确实有点问题,我用 gulp-sass 的时候就发现,如果我的 sass 语法有问题,很多时候居然是不报错的,而是直接就不工作。
而且其实我的很大的一个需求是小文件拼接,gulp 这边虽然有 browserify 但是,好像拼接 html 文件还是没有特别好的方法,所以我要研究一下 webpack
Facebook just open sourced Relay, an elegant way to integrate data into your React apps!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.