Skip to content

[Bug]: Incorrect statement referring to the output of the code #7494

Closed
@Punith1117

Description

@Punith1117

Summary

The statement says the alert message always shows "Hello, !" but the message doesn't always show "Hello, !".

It simply shows the previous input as the current message with initial value set to ''. Therefore, the statement is incorrect.

Page

https://react.dev/learn/state-a-components-memory

Details

(The issue is a part of 4th challenge to try out)

Image

State_.A.Component.s.Memory.React.-.Opera.cropped.mp4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions