ca1c / simpleBlog-client

Create your space. A minimal and efficient blogging app.
0 stars 0 forks source link

Data not in state when page reloads, but shows up on page #1

Open ca1c opened 2 years ago

ca1c commented 2 years ago

In the login and register forms, when the page reloads, the username input is still filled out, although, because the browser did not receive a change event for the input, the data in the state is still nonexistent. Most likely need to implement some functionality that clears the inputs, or some functionality that reads the value of the input after the page loads.