You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
s3ã«ç»åãã¢ãããã¼ãããããã«ãä¸åº¦ãµã¼ããéãã®ã¯ãªã½ã¼ã¹ã®ç¡é§ãªã®ã§ããã¦ããããã§ãããã ä»åã¯ããã©ã¦ã¶ããè¤æ°ç»åãç´æ¥ã¢ãããã¼ããããããReactãç¨ãã¦æç»ããã¨ããã¾ã§ããããã¨æãã¾ãã ã³ã¼ãã¯ãã¹ã¦githubã«ç½®ãã¦ããã¾ãã akameco/react-s3-uploader-sample ã¹ã¯ãªã¼ã³ã·ã§ãã aws-sdkã使ã£ã¦ç½²åä»ãURLãçºè¡ ãã©ã¦ã¶ã«ç´æ¥ã¢ãããã¼ãããã«ã¯ãä¸åº¦ãµã¼ãã«ç½²åä»ãURLãçºè¡ãã¦ãããå¿ è¦ãããã¾ããæ¤ç´¢ããã¨ãã©ã¦ã¶å´ã«ã¢ã¯ã»ã¹ãã¼ãã·ã¼ã¯ã¬ãããã¼ãç´æ¥é ç½®ãã¦ããä¾ãè¦ããã¾ããããå±éºãªã®ã§ãããæ¹ãããã§ããç½²åä»ãURLã§ãããaws-sdkãå©ç¨ãããã¨ã§ãã®å¦çãèªåã§æ¸ããã«20è¡ç¨åº¦ã§å®è£ å¯è½ã§ãã 以ä¸ããs3ã®ç½²åä»ãURLãçºè¡ãããµã¼ãå´ã®ã³ã¼ãã§ããã¢ã¯ã»ã¹ãã¼ãªã©ã¯èªåã®ç°å¢ã¨
èæ¯ Reactãä¸éã使ããããã«ãªã£ã¦ãããããReduxããã¨æãã¾ããã ã§ããããã ãå å®ãã¦ããå ¬å¼ã®ããã¥ã¡ã³ããè¦ã¦ããQiitaã«ããªãã»ã©ãã親åãªè§£èª¬ãèªãã§ãããã¾ã²ã¨ã¤ãã³ã¨æ¥ã¾ããã§ããã»ã»ã» ã§ãããå ¬å¼ã«ç´¹ä»ããã¦ãããã¥ã¼ããªã¢ã«åç»ãé常ã«ããããããã£ãã®ã§ãã²ã¨ã¤ãªãã£ã¦ã¿ãããã¨æ稿ãã¾ããã(å¶ä½è ã§ããDan Abramovæ§ã«ã¯äºè§£ãå¾ã¦ãã¾ã) Getting Started with Redux ãã®åç»ã®ãç°¡åãªã«ã¦ã³ã¿ã¼ã¢ããªä½æã¾ã§ããªãã£ã¦ããã¾ããåºæ¬çã«ã¯ãåç»ãè¦ã¦ããªãã¦ã大ä¸å¤«ãªããã«æ¸ãã¦ããããã¨æãã¾ãã 以ä¸ã®ã³ã¼ãã¯åºæ¬çã«ä¸è¨ã®åç»ããã¨ã«ä¸é¨æ¹å¤ãã¦ãã¾ããã¾ããã³ã¼ãã«ã¤ãã¦ã¯es2015ã¹ã¿ã¤ã«ãã»ãã³ãã³ãªãã®ã¹ã¿ã¤ã«ã§ã®è¨è¿°ããã¦ãã¾ãã ç°å¢ å½æ¹ã®ç°å¢ã§ãã Windows10 node v5.
[æ´æ°: 2016/05/12] react-transportãå ¬éããµã³ãã«ã³ã¼ããredux-saga v0.10.2ã«å¯¾å¿ æ¬ç¨¿ã¯2016å¹´4æ19æ¥ã«éå¬ãããMeguro.es #3ã«ã¦ååã®ã¿ã¤ãã«ã§çºè¡¨ããé£ã³è¾¼ã¿LTã®ãã©ãã¼ã¢ããã«ãªãã¾ãããã¡ãããããã«ããLTè³æã§ãã çºè¡¨ã§ã¯Reduxãå°å ¥ãã«ããç¶æ³ã§ã使ã£ã¦ããæ¹æ³ã¯ããããã¨ããå 容ã§å ·ä½çãªå©ç¨ä¾ããã¢ããã¾ããããããããã®èæ¯ã«ã¯ããå°ã大ããªåé¡æèããã£ã¦ããé£ããå«ããã¨ããReduxç²ããã«ãªãåã«ã¡ãã£ã¨è½ã¡çãã¦Reduxã«ã¤ãã¦å·éã«èãã¦ã¿ããããã¨ãããã¨ã§ããLTã§ã¯ãã®è¾ºããã£é£ã°ãã¦ããã®ã§è³æã®æ§æã¨å¤§ããç°ãªãã¾ãããReduxã®å°å ¥ãæ¤è¨ãã¦ããæ¹ã®ãã³ãã«ãªãã°ã¨æãã¾ãã 誤解ãæããReact + Reduxãã¨ããæ¸ãæ¹ Reactã®å°å ¥äºä¾ãå¢ãã¦ããæ¨ä»ã
ä»åã¯DOMã®ã¤ãã³ãã®æ±ãã«ã¤ãã¦æ¸ãããã¨æãã¾ãã SyntheticEvent React.jsã§ã¯DOMãVirtualDOMã¨ãã¦wrapãã¦ããããã«DOMã®ã¤ãã³ãã«ã¤ãã¦ãSyntheticEventã¨ãã¦wrapãã¦ãã¦ãã¯ãã¹ãã©ã¦ã¶å¯¾å¿ããã¦ãã¾ãã I/Fã¯ãããªæãã§ã boolean bubbles boolean cancelable DOMEventTarget currentTarget boolean defaultPrevented Number eventPhase boolean isTrusted DOMEvent nativeEvent void preventDefault() void stopPropagation() DOMEventTarget target Date timeStamp String type ãã®éããpreve
ä»åã¯ååã«ãå°ãç»å ´ããPropã«ã¤ãã¦åãä¸ãããã¨æãã¾ãã åºæ¬çãªä½¿ãæ¹ Propã¯åºæ¬çã«ã¯Compnentã®attributeã¨ãã¦å®ç¾©ãã¦Componentã®ä¸ã§ã¯this.props.xxxã¨ãã¦åç §ãããããã ãã§ããPropã«ã¯Objectã§ãé¢æ°ã§ãä½ã§ãæå®ãããã¨ãåºæ¥ã¾ãã var Avatar = React.createClass({ render() { var avatarImg = `/img/avatar_${this.props.user.id}.png`; return( <div> <span>{this.props.user.name}</span> <img src={avatarImg} /> </div> ); } }); var user = { id: 10, name: "Hoge" }; // <Avatar user={us
<Video fullscreen={true} autoplay={false} /> render () { this.props.fullscreen const { fullscreen, autoplay } = this.props ··· } Use this.props to access properties passed to the component. See: Properties constructor(props) { super(props) this.state = { username: undefined } } this.setState({ username: 'rstacruz' }) render () { this.state.username const { username } = this.state ··· } Use states
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Electronåå¼·ä¼ #1ã§çºè¡¨ãããElectron, React, Fluxã使ã£ã¦ã¢ããªã±ã¼ã·ã§ã³ãä½ã話ã«ã¤ãã¦è§£èª¬ããã ä½ç½®ã¥ãã¨ãã¦ã¯Electronã®remoteã§ããã»ã¹ééä¿¡ãé«ã¬ãã«ã«æ±ãã®ç¶ãã«ãããã æ¦è¦ Electronã¢ããªã±ã¼ã·ã§ã³ã«Fluxã¢ã¼ããã¯ãã£ãå©ç¨ãããã¨ã¯ãã¬ã³ãã©ããã»ã¹ã®å é¨ã§å¦çã解決ããå ´åã«ããã¦æå¹ã§ãããã¬ã³ãã©ããã»ã¹éã§ç¶æ ãå ±æãããå ´åãã¡ã¤ã³ããã»ã¹ã¨ã¬ã³ãã©ããã»ã¹ã§Fluxã¢ã¼ããã¯ãã£ãäºéåãããã¨ã§ãã®èª²é¡ã解決ã§ããã ãããã¦ã¼ã¶æä½ã«ãã£ã¦ã¬ã³ã
ä»åã¯Componentã®lifecycleã«ã¤ãã¦æ¸ãããã¨æãã¾ãã React.jsã§ã¯Componentã®ç¶æ ã®å¤åã«åããã¦è²ã ã¡ã½ãããå¼ãã§ãããã®ã§ããã«åããã¦åæåãå¾å§æ«ãªå¦çãæ¸ããã¨ãåºæ¥ã¾ãã ãã使ãã®ã¯componentDidMountãcomponentWillUnmount辺ãã§ãã ã¤ãã³ãã®ç»é²ãcomponentDidMountã§ãã£ã¦componentWillUnmountã§è§£é¤ããã¨ããã®ããã使ããã¿ã¼ã³ã ã¨æãã¾ãã componentWillMount() ComponentãDOMããªã¼ã«è¿½å ãããåã«ä¸åº¦ã ãå¼ã°ãã¾ãã ãªã®ã§åæåå¦çãè¡ãã®ã«é©ãã¦ãã¾ãã ãã®ä¸ã§setStateããã¨renderæã«ã¾ã¨ãã¦è¡ããã¾ãã server-side renderingæã«ãå¼ã°ããã®ã§ã©ã¡ãã§ãåãã³ã¼ãã§ããå¿ è¦ãããã¾ãã c
ãããã£ã¦ãã ãã§ãåºåãããhtmlã«ã¯scriptã¿ã°ã30åããããªããã§ã¦ããã¼ã¸ã®èªã¿è¾¼ã¿ã«10sec以ä¸ãããã ã ãã©ãåã«app/assets/javascriptsãgulp watchã¨ãã¯ããããªãã ãªããªããã«ãã¯ãã©ã¦ã¶ã®ãªãã¼ãæã«å¤æ´ãããå ´åã ããã¦æ¬²ããã£ãã ãã¨window.AppNamespace以ä¸ã«ã¢ã¸ã¥ã¼ã«è¿½å ãã¦ããã®ãè¾ãã ã¢ã¸ã¥ã¼ã«å士ã®ä¾åé¢ä¿ãããããããªãããä½ããwindow.AppNamespace.Modules.UserList.ItemViewã¨ãé·ããï¼ browserify-railsã£ã¦ãã¤ä½¿ã£ã¦ã¿ã browserifyãrailsã®ä»çµã¿ã®ä¸ã§åãããã«ãªãã browserify-rails/browserify-rails https://github.com/browserify-rails/brows
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? æè¿è©±é¡ã®React.jsã§ãããå®æ¦æå ¥ã«å½ãã£ã¦ã¯çµæ§éããé¸æãè¿«ããããã¨ã«ãªãã¾ãã ãã£ããè¨ãã°ããã³ãã¬ã¼ãã¨ã³ã¸ã³ãæ¨ã¦ã¦Reactãã¾ãã?ããã¨ãReactããããã¾ãã?ã¨ããé¸æã§ãã æ¬è¨äºã§ã¯Reactã®åºæ¬ææ³ã¨ããããé¸æè¢ãçã¾ãã¦ãã¾ãèæ¯ãè¿°ã¹ãã¨ã¨ãã«ãå¾åã§ã¯ãã©ã¡ãããããããªããã¨ãã(è¥å¹²ã·ãã¥ã¬ã¼ã·ã§ã³RPGããããæã®ãã)第ä¸ã®æ¹çã«ã¤ãã¦æ¡ãæ示ãã¾ãã Reactã®åºæ¬ æåã«ãReactã®åºæ¬çãªä»çµã¿ã«ã¤ãã¦ã¾ã¨ãã¦ããã¾ãã Reactã¯å ¬å¼ããã¥ã¡ã³ããé常ã«å å®ãã¦ã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? HTML5ãã次ã ã¨å°é ããJavaScriptãã¬ã¼ã ã¯ã¼ã¯ã«ã¿ãããããã«ãç¾å¨ã®ããã³ãã¨ã³ãã¯ç°å¸¸ãªã»ã©åããããã¾ãã 常ã«ãã£ããã¢ãããã¦ããªãã¨ããã¤ã®ã¾ã«ãOLDãªæè¡ã使ãç¶ãããã¨ã«ãªãã¾ããå®éã«ä»åè¨äºã«ãã¦ã¿ã¦ãã¡ãã£ã¨ã¤ãããªãã¾ãããã ããããããã³ãã¨ã³ãã¨ã³ã¸ãã¢ã¨ãã¦ã³ã¼ããæ¸ãã¦ãã¦ï¼æè¿ã¯ä¸»ã«JavaScriptï¼ããã®ãããããã«æ¥ã é©ãã¦ãã¾ãã ããã§ä»åã¯ãããæ°å¹´~2015å¹´ã®ããã³ãã¨ã³ãçéã§ä¸åº¦ã¯æµè¡ã£ãæè¡ãä»å¾ã®ååãªã©ãã¾ã¨ãã¾ãããã¿ã¤ãã«ã«ã¢ãã³ã¨ããã¾ããããã®è¾ºã¯
ã¡ãã£ã¨åã«Reactã使ã£ã¦ç°¡åãªã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ã¿ãã®ã§ãã Reactå ¥éç¨ã«ç°¡åãªã¢ããªã±ã¼ã·ã§ã³ä½ã£ã¦ã¿ã - yutaponã®ããã° ä»åã¯Fluxã¢ã¼ããã¯ãã£ã«ã¤ãã¦å¦ã³ããã¨æã£ãã®ã§ãTodoMVCãé¡æã«åçµãã¦ã¿ã¾ããã æ§æã»ãã¸ãã¯ã¯åèã«ãã¤ã¤ãES6æ§æã§æ¸ãããã«ãã¦ã¾ãã åèã«ããã³ã¼ãã¯facebook/fluxã®examplesã®ã³ã¼ãã«ãªãã¾ãã flux/examples/flux-todomvc at master · facebook/flux · GitHub https://github.com/facebook/flux/tree/master/examples/flux-chat ä½ã£ãã³ã¼ãã¯ããã«ç½®ãã¦ãã¦ã https://github.com/sskyu/react-flux-todomvc-example/tree
éçºã大好ããª@geta6ã§ãã React meetupã®ãã¨ãå®å ¨ã«è¦éãã¦ãã¦æããã£ãã®ã§ãå¤é¨å ¬éã®ç¤¾å åå¼·ä¼ã§Reactã¨Fluxã«ã¤ãã¦ã®çºè¡¨ããã¾ããã çµç·¯ ç¾å¨ãã¯ã·ãã§ã¯Reactã§Fluxãªæãã®æ§æã§æ°ãµã¼ãã¹ãéçºä¸ã§ããããã¾ã§ç¤¾ã®ãããã¯ãã¨ãã¦Reactãæ¡ç¨ãããã¨ã¯ç¡ãããã®æ°ãµã¼ãã¹ãåã®æ¡ç¨ã¨ãªãäºå®ã§ãã社å ã®ç©ºæ°æã¯ãFluxãReactãããèããä½ã¨ãªãããã£ã¦ããã©ã詳ããã¯ç¥ããªããã¨ããæãã§ããã ããã§ãèªåã®ç解度ã®ç¢ºèªã¨ãä¸ç·ã«éçºãã¦ãããã¼ã ã®äººã社å å¤ã®éçºç¾å ´ã®çããã«å¤§ä½ã®æè¦ãæ´ãã§ãããããããReactã¨Fluxã£ã¦ä¸ä½å ¨ä½ãªããããã»ããã¨ãããã¼ãã§ããã£ããã¨å¤§æ ãæããçºè¡¨ããã¾ããã è³æ speakerdeck.com Reactã¨Fluxã®ã㨠// Speaker Deck ã¹ã©ã¤ãã«ã¯å ¥ã£ã¦ã
ReactNativeã¨ã¯ ReactNative http://facebook.github.io/react-native/ ReactNativeã¨ã¯Reactjsãã¼ã¹ã§ãã¤ãã£ãã¢ããªãæ§ç¯ã§ããSDKã§ãFacebookãå æ¥ãªãªã¼ã¹ãã¾ãããã¡ãªã¿ã«Facebook Groupã®ã¢ããªãReactNative製ãªãã ãããªã ç¾å¨ã¯iOSã®ã¿ã®å¯¾å¿ã¨ãªã£ã¦ãã¾ãããå°æ¥çã«ã¯ãã®ä»ãã©ãããã©ã¼ã ã«ã対å¿ãã¦ãããã®ã¨æããã¾ãã å é¨ã§ã¯Reactjsã®æç»çµæãUIKitã®åè¦ç´ ã«å¤æãã¦æç»ãã¦ããããã§ãã 触ã£ã¦ã¿ããã¨ããæ¹ã¯ã3åãããã§æºåã§ãã¾ãã®ã§ãã£ã¦ã¿ã¾ãããã http://facebook.github.io/react-native/docs/getting-started.html#content ä½ã£ããã® ã¨ããããã©ããã£ãä½æ³ã§æ¸ãã¦
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}