how to refresh the page using react
window.location.reload(false);
how to refresh the page using react
window.location.reload(false);
diffrence b/w render and reload
Reloading is making another http request to the webhost's server. It returns html for your browser to load onto the page.
Rerendering is the act of changing, adding, or removing existing html on the page that has already been served to the browser. No need to interact with the website's server to make these changes. Keep in mind showing the actual content inside the new html element might make a http request.This is the entire point of JavaScript.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us