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

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