Skip to content

why do i get this message in the console when i refresh The development server has disconnected. Refresh the page if necessary #11652

Description

@Johnnycapreano

i was reading from a book on react all i did is use the command create-react-app to followed by the app name to create the app i used the command yarn start to run my app i added this code to my app.js file `` <div
className="Example"
style={{ background: "white", color: "white" }}
onClick={() => alert('hello')}>

`` when i run i get redirected to page on localhost 3000 i have white screen all in my console is this message`` [HMR] Waiting for update signal from WDS... `` when i refresh to see the changes i made to app.js file i get this message in the console``` The development server has disconnected. Refresh the page if necessary.``` and still nothing on the screen how do i fix that ![Screenshot (51)](https://user-images.githubusercontent.com/74734400/141701818-a80489a3-df6a-4c93-9ac0-6a64d47ce111.png)

Activity

  1. changed the title [-]why do i get this massage in the console when i refresh ``The development server has disconnected. Refresh the page if necessary``[/-] [+]why do i get this message in the console when i refresh ``The development server has disconnected. Refresh the page if necessary``[/+] on Nov 14, 2021
  2. stale commented on Jan 9, 2022

    @stale

    This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions