en
Books
Artemij Fedosejev

React.js Essentials

  • Danniidézett4 évvel ezelőtt
    To start using the Twitter Streaming API, you'll need to perform the following steps:
    Create a Twitter account. For this, go to https://twitter.com and sign up; or sign in if you already have an account.
    Create a new Twitter App by navigating to https://apps.twitter.com, and click on Create New App. You will need to fill in the Application Details form, agree with the Developer Agreement,and click on Create your Twitter application. Now you should see your application's page. Switch to the Keys and Access Tokens tab.
  • Dusanidézett5 évvel ezelőtt
    e web application today involves writing the HTML, CSS, and JavaScript code. The reason we use three different technologie
  • rootartidézett6 évvel ezelőtt
    to separate your components into two concerns: how to handle the user interface interaction logic and how to render data.
  • rootartidézett6 évvel ezelőtt
    it's a good practice to keep as many React components stateless as possible.
  • rootartidézett6 évvel ezelőtt
    There are two types of React components:
    With a state
    Without a state
  • rootartidézett6 évvel ezelőtt
    render()
    function is not aware of all these events and it shouldn't be because its sole purpose is to return a React element based on the data that we pass to it. How do we pass data to it?
    There are two ways to pass data to a
    render()
    function using the React API:
    this.props
    this.state
  • rootartidézett6 évvel ezelőtt
    props
    parameter is a JavaScript object passed from a parent element to a child element (and not the other way around) with some properties that are considered immutable, that is, those that should not be changed.
  • rootartidézett6 évvel ezelőtt
    informative talk by Pete Hunt from Facebook at https://www.youtube.com/watch?v=-DX3vJiqxm4.
  • rootartidézett6 évvel ezelőtt
    then go to https://github.com/fedosejev/react-essentials
  • rootartidézett6 évvel ezelőtt
    of a shopping list built with React: http://fedosejev.github.io/shopping-list-react
fb2epub
Húzza és ejtse ide a fájljait (egyszerre maximum 5-öt)