GithubHelp home page GithubHelp logo

Comments (5)

benawad avatar benawad commented on May 17, 2024 1

Sure. I'll code it up tomorrow

from react-menu-monkey-client.

benawad avatar benawad commented on May 17, 2024 1

I coded it in a separate branch: https://github.com/benawad/react-menu-monkey-client/tree/handle-login-error

I added error handling for the login page. So if a user tries to login with an invalid email or password it will stop them. I recommend taking a look at this commit: c8cab6d

It shows exactly what I changed.

from react-menu-monkey-client.

4ware avatar 4ware commented on May 17, 2024 1

Thanks a lot!

from react-menu-monkey-client.

benawad avatar benawad commented on May 17, 2024

One possible option, is to put any errors in the redux state. Then in your form component, you can check if there are any errors and display a message

from react-menu-monkey-client.

4ware avatar 4ware commented on May 17, 2024

Would you mind to update the code for this? I don't know how... :(

from react-menu-monkey-client.

Related Issues (5)

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.