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
// modifierKey used to check if cmd+click, shift+click, etc. | |
!function($, global){ | |
var $doc = $(document); | |
var keys; | |
global.modifierKey = false; | |
global.keys = keys = { | |
'UP': 38, | |
'DOWN': 40, |
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 |
var gulp = require('gulp') | |
, browserify = require('gulp-browserify') | |
, hbsfy = require('hbsfy') | |
; | |
gulp.task('scripts', function() { | |
return gulp.src('./js/main.js') | |
.pipe(browserify({ | |
debug: true, | |
transform: ['hbsfy'], |
var gulp = require('gulp') | |
, browserify = require('gulp-browserify') | |
; | |
gulp.task('scripts', function() { | |
return gulp.src('./js/sample.js') | |
.pipe(browserify({ | |
debug: true, | |
transform: ['hbsfy'], | |
})) |
$ make build | |
./node_modules/.bin/browserify entry.js -o bundle.js | |
Error: Cannot find module 'router.js' from '/Users/spike/code/router.js-browserify-example' |
var spec = { | |
collection: { | |
collection: 'Databases', | |
params: {database_name: params.database_name}, | |
}, | |
}; |