• Stars
    star
    137
  • Rank 266,121 (Top 6 %)
  • Language
    JavaScript
  • Created about 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React Native Hot Redux Starter (deprecated)

Hot reloading is now built into React Native, so use that instead of this.

This is a starter kit for building React Native apps using Redux and the react-native-webpack-server for hot code reloading.

Hot reloading is based on the BabelES6 example in @mjohnston's react-native-webpack-server.

Installation

git clone [email protected]:adampash/react-native-hot-redux-starter.git
cd react-native-hot-redux-starter
npm install

Development

npm run hot
open ./ios/react_native_starter.xcodeproj

Cmd+R inside Xcode to run the app in the iOS simulator. On first run, you'll likely receive an error because, in order for hot-loading to work, you need to be debugging in Chrome. Dismiss the error (press escape), then press Cmd+D and click on the Debug in Chrome button. When the Chrome debugger is open and connected, press Cmd+R in the iOS simulator to reload the app. You should now be hot-loading, and all changes you save in your source should update in the app.

What's in it?

I'm using the starter to familiarize myself with Flux using Redux and the best practices I know of.

Build for release

npm run bundle

Uncomment the line in AppDelegate.m that loads the local main.jsbundle. (Line 46.)

Todo

  • Update for Android.

Thanks

Many thanks to Dan Abramov for help debugging hot loading (along with all of his work that I'm using here).

More Repositories

1

texter

Text replacement/substitution application written in AutoHotkey scripting language.
AutoHotkey
302
star
2

belvedere

Automated file manager
AutoHotkey
163
star
3

Music-Plus-for-Google-Music

Music Plus adds lots of cool stuff to Google Music.
JavaScript
93
star
4

Lifehacker.me

An open source, customizable homepage. Written by Adam Dachis for Lifehacker.
JavaScript
24
star
5

pipe

JavaScript
11
star
6

twitter-ratios

JavaScript
10
star
7

slack-liveblog

JavaScript
8
star
8

adampash.github.io

Github Pages + Jekyll powered blog
CSS
6
star
9

diff.js

A small JavaScript library to diff two strings of text.
JavaScript
5
star
10

titanium_contacts

D
5
star
11

android_geofence

Titanium module for implementing geofences in Android
Java
5
star
12

Internet-Shame-Insurance

Internet Shame Insurance is a very simple Google Chrome extension that adds privacy reminders to Facebook, Twitter, and Gmail to help you avoid the most common online communication faux pas.
5
star
13

spotify-control

JavaScript
4
star
14

insight2png

some testing
CoffeeScript
4
star
15

bikes_nearby_app

JavaScript
3
star
16

mercury_ex

Elixir
3
star
17

lambda-logs

Shell
3
star
18

Lifehacker-Notifier

JavaScript
3
star
19

nag_bot

a slack bot for recurring reminders
JavaScript
3
star
20

react-redux-static-boilerplate

JavaScript
3
star
21

dotfiles

Vim Script
2
star
22

eden

A Slack chatbot for quickly following and unfollowing people on Twitter, seeing their tweets in Slack
Elixir
2
star
23

bikes_nearby

JavaScript
1
star
24

ingredient-cutter

CSS
1
star
25

phoenix_react_starter

A starter for making a Phoenix app with React hot loading
JavaScript
1
star
26

node-rtc

Webrtc demo using a v. simple node backend for signaling
JavaScript
1
star
27

face

C++
1
star
28

kinja-api-endpoint

For JSONP requests to Kinja post API (GET only)
Ruby
1
star
29

gawker-labs-tools

JavaScript
1
star
30

server-free-rtc

JavaScript
1
star
31

too_hot_for_wp

Tracks, archives, and notifies when articles are deleted from Wikipedia
Ruby
1
star
32

ip_geo_lookups

Some Ruby scripting to run geo lookups on IP addresses. Also converts CSV to SQLite. Jumble of stuff for a project for Deadspin
Ruby
1
star