First time user launch screen

I am looking to create a first time user launch screen- something like an “About/Welcome” page. Essentially, something that would pull a one-time screen after launching the app for the first time and never appear again; if the user has already opened the app they would be directed to another page.

I am not using login credentials, so I need a different solution than checking to see if the user is logged in or not.

How would I go about configuring this? I have tried searching all over the web and can’t seem to find what I am looking for. Please note this is different from a “Launch Screen”.

P.S. Newbie here, any help would be appreciated. Thanks in advance. :slight_smile:

Generally you implement this with a cookie.

Or you can use the local storage, with “persistent-session” package.

Or just use localStorage directly.

if(!localStorage.getItem('is-new-user')) {
  localStorage.setItem('is-new-user', '_');
  alert('Replace this with redirect code!');
}