Code Monkey home page Code Monkey logo

react-native-in-action's Introduction

React Native in Action

This is a work in progress

This repository contains code and snippets to go along with React Native in Action, written for Manning Publications.

Code samples will be arranged by chapter. Any future breaking changes will be updated as soon as I am aware of them.

Chapter 1

Chapter 1

Chapter 3

TodoApp

Chapter 4

TodoApp

Chapter 5

TodoApp

Chapter 6

Chapter 6

Chapter 7

Chapter 7

Chapter 8

Chapter 8

Chapter 9

Chapter 9

Chapter 10

Chapter 11

Chapter 12

Chapter 12

react-native-in-action's People

Contributors

baronnoraz avatar dabit3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-in-action's Issues

Chapter6 react-native-navigation version 3

src/index.js

react-native-navigation version 3.x
import {
createBottomTabNavigator,
createStackNavigator,
createAppContainer } from 'react-navigation'

...

export default createAppContainer(Tabs)

Chapter 6 in Android

In my case,

react-native-navigation has some problems..

so I added ..

react-native-gesture-handler

then run

react-native link

AsyncStorage in Chapter 6

the code should look like ๐Ÿ‘
` try {
let cities = await AsyncStorage.getItem(key)
if (cities !== null) {
console.log(cities);
cities = JSON.parse(cities)
this.setState({ cities })}

} catch (e) {
  console.log('error from AsyncStorage: ', e)
}`

must check for null values other wise you will get ๐Ÿ‘

error from AsyncStorage: TypeError: TypeError: Cannot read property 'length' of null

Thanks,

Chapter 4 user.png

i'm struggling to find user.png used in Listing 4.10 where can i find chapter 4.

Install instructions missing a step

After cloning the repo and before running npm i, the user needs to cd into the directory for the project (e.g., react-native-in-action/StarWars for chapter 6).

Chapter 6 - Filename too long

Hi,
I am not able to checkout chapter6. I get the error below on a windows 7 box. How to fix it?

Thx,

Couldn't checkout origin/chapter6
fatal: cannot create directory at 'ios/build/Build/Intermediates.noindex/RCTActionSheet.build/Debug-iphonesimulator/RCTActionSheet.build/StaticAnalyzer/RCTActionSheet/RCTActionSheet': Filename too long

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.