Coder Social home page Coder Social logo

react-native-intro-devcamp17's Introduction

Introduction to React Native

You can see the very minimalistic slides in the slides folder. Just open the index.html in your webbrowser.

Build TicTacToe app

If you want to re-build the app as demonstrated at the devcamp17 follow these steps:

  1. Install react-native according to the documentation
  2. Init a new app by executing react-native init TicTacToe
  3. Your index.android.js should now look similar to 00_initial.js
  4. Start an emulator and run this default app
  5. Play around and modify some styles
  6. Build the board by adding some views
  7. If you are stuck have a look at 01_field.js
  8. Add state to your main class to handle the content of fields (02_state.js)
  9. Make it playable by calling setState on touches (03_playable.js)
  10. Add logic to detect if the game is over and who is the winner (04_winner.js)
  11. Finalize the app to make it a little more visually pleasing (05_final.js)

LICENSE

All code in the prepared folder is available under MIT License. The presentation in the slides folder is available under CC-BY 4.0. Third party content with own licenses are FontAwesome and revealjs.

react-native-intro-devcamp17's People

Contributors

iimog avatar

Watchers

 avatar  avatar

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.