Skip to content

A react web application which checks for version updates using service worker and let user know of that.

Notifications You must be signed in to change notification settings

hip1310/react-app-version-updates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Update - ServiceWorker

Automatic Page Refresh on Build Completion

Installation

To set up, follow these steps:

Install the necessary dependencies by running one of the following commands:

npm install
# or
npm install --force

Running the Application

npm run build

This command will build the application.

npm start

This command will start the application.

Change App.js ui changes

Make any desired changes to the user interface in the App.js file.

npm run build

Run this command again to build the application. This will load the new changes without requiring a manual page refresh.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

About

A react web application which checks for version updates using service worker and let user know of that.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published