Git Product home page Git Product logo

react-by-sample's Introduction

React Typescript by sample

The goal of this project is to provide a set of step by step guided samples, covering core concepts of React (props, state, replace, cycle...).

Characteristics:

  • Bundling based on webpack.
  • React + Typescript based.
  • Simple navigation using react-router.

Contributors and reviewers are more than welcome.

To get started:

  1. Install NodeJS.
  2. Install webpack - npm install webpack -g.
  3. Download this repo.
  4. Open the command line of your choice and cd to the root directory of this repo on your machine, then cd to one of the demos projects.
  5. Install the required packages - npm install.
  6. Builds the project and launch a lite dev web server - npm start.
  7. Navigate to http://localhost:8080/ if your browser doesn't open automatically.

samples

Bundling + npm start based on webpack.

Hello world, simples react render sample.

Introduce a basic React concept, handling properties.

Introduce a basic React concept, handling State.

Using callbacks.

Refactor the job done.

Remove state from a child control just to have clear governance of state.

Enable/disable components.

Simple color picker demo (show how properties work).

ColorPicker refactor.

Implementation of a single sidebar.

Render a table and use a child component to render each row.

Using Promises.

Enhance rendering performance hooking to 'shouldComponentUpdate'.

Sample of navigation.

Basic implementation of a login page.

About Lemoncode

We are a team of long-term experienced freelance developers, established as a group in 2010. We specialize in Front End technologies and .NET. Click here to get more info about us.

For the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend

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.