Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,136 Points

    any reason for not using Bycrypt.js

    Posted September 29, 2022 3:52pm by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,136 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Set up Basic Authentication

    0 Answers

  • weinian he
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    weinian he
    Full Stack JavaScript Techdegree Graduate 17,167 Points

    concerns with states in Context.js

    Posted April 22, 2022 5:30pm by weinian he
    .a{fill-rule:evenodd;}techdegree seal-36
    weinian he
    Full Stack JavaScript Techdegree Graduate 17,167 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Display Authenticated User in the Header

    0 Answers

  • OLUBUKOLA OGUNSOLA
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    OLUBUKOLA OGUNSOLA
    Full Stack JavaScript Techdegree Graduate 30,442 Points

    signin 401 error

    Posted September 14, 2021 7:36pm by OLUBUKOLA OGUNSOLA
    .a{fill-rule:evenodd;}techdegree seal-36
    OLUBUKOLA OGUNSOLA
    Full Stack JavaScript Techdegree Graduate 30,442 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Implement Sign In

    2 Answers

  • Nancy Melucci
    PLUS
    Nancy Melucci
    Courses Plus Student 36,809 Points

    TypeError: Cannot read property 'signIn' of undefined at UserSignUp.js:94 Not Found error on submit.

    Posted August 29, 2021 4:03pm by Nancy Melucci
    Nancy Melucci
    Courses Plus Student 36,809 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Implement the Sign up Form

    1 Answer

  • Joseph Lander
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Lander
    Full Stack JavaScript Techdegree Graduate 27,765 Points

    Update to link .getJSON()

    Posted June 17, 2021 5:10pm by Joseph Lander
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Lander
    Full Stack JavaScript Techdegree Graduate 27,765 Points
    • JavaScript
    • React Authentication (2019)
    • React Router and Authentication
    • Preserve the User State with Cookies

    2 Answers

  • Joseph Lander
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Lander
    Full Stack JavaScript Techdegree Graduate 27,765 Points

    Ah! Wish I had known this for project 7. How could you do this without using more modern techniques?

    Posted June 17, 2021 2:45pm by Joseph Lander
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Lander
    Full Stack JavaScript Techdegree Graduate 27,765 Points
    • JavaScript
    • React Authentication (2019)
    • React Router and Authentication
    • Implement User Sign Out

    0 Answers

  • Joseph Lander
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Lander
    Full Stack JavaScript Techdegree Graduate 27,765 Points

    Help to confirm why we import `Data` in `constructor()` and in `render()`

    Posted June 16, 2021 12:08pm by Joseph Lander
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Lander
    Full Stack JavaScript Techdegree Graduate 27,765 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Set up User Registration

    1 Answer

  • Alejandro Jiménez-Flores
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Alejandro Jiménez-Flores
    Full Stack JavaScript Techdegree Student 14,981 Points

    Also having issues with starter files...

    Posted April 13, 2021 1:20am by Alejandro Jiménez-Flores
    .a{fill-rule:evenodd;}techdegree
    Alejandro Jiménez-Flores
    Full Stack JavaScript Techdegree Student 14,981 Points
    • JavaScript
    • React Authentication (2019)
    • Introducing the Authentication Project
    • Set up the React App

    1 Answer

  • Eduardo Osorio
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Eduardo Osorio
    Full Stack JavaScript Techdegree Graduate 20,847 Points

    Using a cookie like this is not secure at all. In fact I believe it represents a major security flaw.

    Posted March 23, 2021 8:51pm by Eduardo Osorio
    .a{fill-rule:evenodd;}techdegree seal-36
    Eduardo Osorio
    Full Stack JavaScript Techdegree Graduate 20,847 Points
    • JavaScript
    • React Authentication (2019)
    • React Router and Authentication
    • Preserve the User State with Cookies

    0 Answers

  • Mark Westerweel
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Mark Westerweel
    Full Stack JavaScript Techdegree Graduate 22,379 Points

    Suggestion for the course

    Posted February 8, 2021 9:20pm by Mark Westerweel
    .a{fill-rule:evenodd;}techdegree seal-36
    Mark Westerweel
    Full Stack JavaScript Techdegree Graduate 22,379 Points
    • JavaScript
    • React Authentication (2019)
    • React Router and Authentication
    • Wrap up and Next Steps

    0 Answers

  • Paul Messmer
    Paul Messmer
    15,023 Points

    Would you still use something like bcrypt?

    Posted January 13, 2021 12:03am by Paul Messmer
    Paul Messmer
    15,023 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Set up Basic Authentication

    3 Answers

  • Paul Messmer
    Paul Messmer
    15,023 Points

    is data.js creating an object?

    Posted January 12, 2021 6:43pm by Paul Messmer
    Paul Messmer
    15,023 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Set up User Registration

    1 Answer

  • Azal Khaled
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Azal Khaled
    Full Stack JavaScript Techdegree Graduate 19,273 Points

    I cannot sign in as a user.

    Posted July 23, 2020 1:24am by Azal Khaled
    .a{fill-rule:evenodd;}techdegree seal-36
    Azal Khaled
    Full Stack JavaScript Techdegree Graduate 19,273 Points
    • JavaScript
    • React Authentication (2019)
    • React Router and Authentication
    • Preserve the User State with Cookies

    0 Answers

  • Damian Szymanski
    Damian Szymanski
    11,843 Points

    Is there any documentation for the api() {} method used here?

    Posted July 1, 2020 10:13pm by Damian Szymanski
    Damian Szymanski
    11,843 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Set up Basic Authentication

    2 Answers

  • Seokhyun Wie
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Seokhyun Wie
    Full Stack JavaScript Techdegree Graduate 21,606 Points

    Fetch failed loading: POST "http://localhost:5000/api/users"

    Posted April 25, 2020 5:24am by Seokhyun Wie
    .a{fill-rule:evenodd;}techdegree seal-36
    Seokhyun Wie
    Full Stack JavaScript Techdegree Graduate 21,606 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Implement the Sign up Form

    2 Answers

  • Joseph Butterfield
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Butterfield
    Full Stack JavaScript Techdegree Graduate 16,430 Points

    When to use anonymous expression within setState().

    Posted April 24, 2020 3:50am by Joseph Butterfield
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Butterfield
    Full Stack JavaScript Techdegree Graduate 16,430 Points
    • JavaScript
    • React Authentication (2019)
    • React Router and Authentication
    • Preserve the User State with Cookies

    1 Answer

  • fairest
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    fairest
    Full Stack JavaScript Techdegree Graduate 19,303 Points

    How does the userSignUp access props?

    Posted April 19, 2020 10:48pm by fairest
    .a{fill-rule:evenodd;}techdegree seal-36
    fairest
    Full Stack JavaScript Techdegree Graduate 19,303 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Implement the Sign up Form

    1 Answer

  • shazza69
    PLUS
    shazza69
    Courses Plus Student 691 Points

    How do I create a React Consumer within a component file itself?

    Posted January 17, 2020 2:28am by shazza69
    shazza69
    Courses Plus Student 691 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Implement the Sign up Form

    1 Answer

  • Danielle Walraven
    Danielle Walraven
    2,782 Points

    The starter files aren't behaving as expected...

    Posted September 8, 2019 2:28pm by Danielle Walraven
    Danielle Walraven
    2,782 Points
    • JavaScript
    • React Authentication (2019)
    • Introducing the Authentication Project
    • Set up the React App

    1 Answer

  • Dominik Kaczmarczyk
    Dominik Kaczmarczyk
    19,509 Points

    Is there any particular reason for using standard function syntax instead of the arrow one in HOC?

    Posted August 18, 2019 1:46pm by Dominik Kaczmarczyk
    Dominik Kaczmarczyk
    19,509 Points
    • JavaScript
    • React Authentication (2019)
    • Implementing Basic Authentication
    • Set up User Registration

    2 Answers

  • Alfredo Araujo
    Alfredo Araujo
    12,388 Points

    This course finish here? because doesn't redirect to nowhere

    Posted August 5, 2019 3:19pm by Alfredo Araujo
    Alfredo Araujo
    12,388 Points
    • JavaScript
    • React Authentication (2019)
    • React Router and Authentication
    • Protect Routes that Require Authentication

    1 Answer

  • Adam N
    Adam N
    70,280 Points

    Confusing link

    Posted July 5, 2019 5:28pm by Adam N
    Adam N
    70,280 Points
    • JavaScript
    • React Authentication (2019)
    • Introducing the Authentication Project
    • What is Basic Authentication?

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord