Giter Site home page Giter Site logo

slim-hmidi / react-hooks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.38 MB

Create a simple application to test the hooks' concept of react

JavaScript 97.20% HTML 2.80%
react react-dom webpack4 material-ui jsx javascript es6 eslint react-hooks-demo react-hooks

react-hooks's Introduction

react-hooks

Create a simple application to test the hooks' concept of react.

In order to try the new concept of hooks, I tried to create a simple application which give a random addition operation then a user enter a result, if it's correct a modal with success message will be displayed. Unless a wrong message will be shown.

To realize this app, I used also math-js, it's a math library for javascript and nodejs. It contains a lot of functions which you to combine mathematical operations to your code.

For more information about this package, just click on this link:

http://mathjs.org

To run the example, you have to run:

npm install

Then:

npm run start:dev

At the time of writing this app, react hooks are not officially implemented in the stable version of react, So I used an alphaversion.

References:

https://reactjs.org/docs/hooks-intro.html

https://reactjs.org/blog/2019/02/06/react-v16.8.0.html

https://www.youtube.com/watch?v=dpw9EHDh2bM

react-hooks's People

Contributors

dependabot[bot] avatar slim-hmidi avatar

Watchers

 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.