Code Monkey home page Code Monkey logo

some-useful-tools-for-writing-react's Introduction

Hello everyone and welcome to React!

Below are some helpful resources that may accelerate your React learning:

  1. If you're using Atom as your text editor, download a JSX plugin (a quick search for 'JSX' will reveal the most popular ones). This will give you some pretty great syntax highlighting for code that is specific to React, and will make coding easier. After the package is installed, open up your preferences in Atom. Depending on which package you choose, you may have to edit its settings so that it is the default syntax highlighter for files appended with .jsx

  2. Install the React Devtools Chrome Extension. This gives you access to some pretty great tools that make it a lot easier to debug your programs in React. Here is the repo for the extension.

  3. Most importantly, the official React Documentation, courtesy of Facebook. While you won't have the time to read over all of it now, it might be good to have bookmarked while you learn React. THX Facebook for creating this stellar library.

  4. As a bonus, take a look at error handling in fetch

fetch("/api/foo")
  .then(response => {
    if (!response.ok) { throw response }
    return response.json()  //we only get here if there is no error
  })
  .then(json => {
    doSomethingWithResult(json)
  })
  .catch(err => {
    err.text().then(errorMessage => {
      displayTheError(errorMessage)
    })
  })

View Some Useful Tools for Writing React on Learn.co and start learning to code for free.

some-useful-tools-for-writing-react's People

Contributors

realandrewcohn avatar danielseehausen avatar thuyanduong avatar thuyanduong-flatiron avatar maxwellbenton avatar

Watchers

James Cloos 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.