Giter VIP home page Giter VIP logo

keyval's Introduction

KeyVal

=================================================

Author: Ryan Milton

Setup

  • Fork this repo
  • run npm install

Modules

Parent

  • The "Parent" component is an class that renders the Header component and KeyValue components (based the entries in the store).
    • The "Parent" renders an h1 tag that simply read "this is the parent component".
    • The "Parent" renders a button that when clicked will log out in the console the key value pairs as entered in the forms.

Header

  • The "Header" component renders a header tag and a button.
    • The header tag simply reads "this is your header".
    • When the button is clicked is triggers a function to create a new key value pair object in the store which is then seen by the parent component and renders out another KeyValue pair component.

KeyValue

  • The "KeyValue" component renders a form with two input fields and a button.
    • When the user types in the input fields, with every keystroke the entered text is stored in the "store" to be displayed when the "Submit" button in the "Parent" component is clicked.
    • The first input field is for entering the "key".
    • The second input field is for entering the "value".
    • The button is used to delete that individual form.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode as givevn by webpack.
See the section about running tests or see Jest for more information.

Further Development

  • This is an open source repository, feel free to make contributions and submit them. If seen as productive to the project I will approve the submissions.
  • If there are any issues with installing, running, or testing this project please contact me and I will do my best to resolve these issues.

keyval's People

Contributors

ryan-milton 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.