Code Monkey home page Code Monkey logo

iss-flyby-redux's Introduction

ISS Flyby - A project to learn Redux

Purpose

I am building on my experience with JavaScript to continue toward my objective of transitioning from aeronautical engineering into Tech as a front-end web developer. This project is one of a series designed to give me exposure to common libraries and frameworks used with JavaScript.

App Features

  • Built using redux. State is kept in a single store and extracted for use in components as needed.
  • Form state is managed using redux-form package. Implementing redux-form takes care of some of the grunt work behind keeping the state synced with the value of the various form fields.
  • Interacts with an API to collect space station location information.
  • Renders a list of upcoming space station pass overs for the user-specified location.

Structure

The app has the following high-level structure:

<App>
  <Header>
  <IssApiForm>
  <FlybyTable>
    <FlybyRows>

There is one difference in the structure relative to the version built in pure React (without using Redux). <FlybyTable> is now a direct child of <App>. In the pure React version, <FlybyTable> was a child of <IssApiForm> to have access to its state. This simple app doesn't necessarily warrant the features of Redux, but this small example shows a fundamental difference in how state is managed.

iss-flyby-redux's People

Watchers

James Cloos avatar Derek Wilde 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.