vincentntang / react-session-timeout-example

An example of a react-session-timeout-example

Home Page:https://react-session-timeout-example.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Session Timeout Example

image

This is a demo showcasing how to create a session-timeout modal in React for logging off a user.

Please see the blog post on how this works

https://vincentntang.com/session-timeout-modals-react

and the demo to see it in action

https://react-session-timeout-example.netlify.app/

Installation notes

Pull the repo or fork it

Then run

npm install
npm run start

check out localhost:3000 and it should be running there

wait 5 seconds and don't movee the mouse to see the timeoutmodal

About

An example of a react-session-timeout-example

https://react-session-timeout-example.netlify.app/


Languages

Language:JavaScript 71.0%Language:HTML 29.0%