window location reload in server side rendering code example Example: refresh window js window.location.reload();