The following is a list of Redux resources, as described to me by Dan Abramov.
"Real World Redux" talk
Reselect
Sunil Pai is building an Om Next clone in vanilla JS
| import React, { Component } from 'react'; | |
| import { | |
| asset, | |
| Pano, | |
| View, | |
| StyleSheet, | |
| } from 'react-vr'; | |
| import Poster from './Poster'; | |
| import posters from '../posters.json'; |
| class SimpleComponent extends React.Component { | |
| render() { | |
| return ( | |
| <View> | |
| <Header title="A simple example" /> | |
| <Button onPress={onPressButton}> | |
| Press me | |
| </Button> | |
| </View> | |
| ); |
| [ignore] | |
| # This config is based on the `.flowconfig` file generated by `react-native | |
| # init`. | |
| # We fork some components by platform | |
| .*/*[.]android.js | |
| # Ignore unexpected extra "@providesModule" | |
| .*/node_modules/.*/node_modules/fbjs/.* |
| #import "ErrorBridge.h" | |
| #import <React/RCTRedbox.h> | |
| @implementation ErrorBridge | |
| @synthesize bridge = _bridge; | |
| RCT_EXPORT_MODULE() | |
| - (NSArray<NSString *> *)supportedEvents |
The following is a list of Redux resources, as described to me by Dan Abramov.
"Real World Redux" talk
Reselect
Sunil Pai is building an Om Next clone in vanilla JS
| ░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄ | |
| ░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄ | |
| ░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█ | |
| ░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█ | |
| ░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█ | |
| █▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█ | |
| █▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█ | |
| ░█▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█ | |
| ░░█░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█ | |
| ░░░█░░██░░▀█▄▄▄█▄▄█▄████░█ |
| function htmlDecode(input) { | |
| var e = document.createElement('div'); | |
| e.innerHTML = input; | |
| return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue; | |
| } |
| vagrant@localhost:~$ tmux list-sessions | |
| railsc: 1 windows (created Wed May 21 16:57:04 2014) [283x66] (attached) | |
| rookery: 1 windows (created Wed May 21 16:56:30 2014) [141x32] (attached) | |
| specs: 1 windows (created Wed May 21 16:58:34 2014) [141x15] (attached) | |
| zeus: 1 windows (created Tue May 20 23:42:45 2014) [141x14] (attached) |
| // console.log(global.Client.toString()); | |
| function (host, port) { | |
| this.host = host; | |
| this.port = port; | |
| this.socket = require('dgram').createSocket('udp4'); | |
| } |
| var gulp = require('gulp') | |
| , browserify = require('gulp-browserify') | |
| ; | |
| gulp.task('scripts', function() { | |
| return gulp.src('./js/sample.js') | |
| .pipe(browserify({ | |
| debug: true, | |
| transform: ['hbsfy'], | |
| })) |