Giter Site home page Giter Site logo

Comments (6)

cmarabate avatar cmarabate commented on July 30, 2024

Nevermind, I apparently just had to shut down the site and build it up again using "gatsby develop".

from userbase-gatsby-starter.

jneterer avatar jneterer commented on July 30, 2024

@cmarabate Glad you got it figured out! Let me know if you have any other questions!

from userbase-gatsby-starter.

cmarabate avatar cmarabate commented on July 30, 2024

I do have a question actually, does Userbase allow me to create a website that would let each visitor pin/star items and/or move stuff around and have it only saved locally for each visitor?

If not, do you know of a Gatsby Starter that does or what it is that I need to search for to learn how to create a site like that? There has to be a name for that type of site that I am not aware of.

Here are a couple examples of sites I have found that work like this...

Thanks!

from userbase-gatsby-starter.

jneterer avatar jneterer commented on July 30, 2024

@cmarabate What you are describing sounds like saving anonymous user data in session/local storage. I am not quite sure of your use case, but if you have a page that is open to anonymous users, you should be able to allow the anonymous user to interact with your site and just save the data in their local storage (probably local, not session, depending on how long you want that data to persist). Then, if the user attempts to sign up or log in, after either action you could programmatically save what you have stored in their local or session storage to their actual account. I would not recommend saving ANY data in session or local storage that is sensitive (hence the point of Userbase).

I doubt there is any kind of solution other than what I've described.

Session Storage: https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage
Local Storage: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage

from userbase-gatsby-starter.

cmarabate avatar cmarabate commented on July 30, 2024

That is a huge help, thank you so much! Now that I know what exactly I am looking for, I should be able to figure it out!

Thanks again!

from userbase-gatsby-starter.

mrtornado avatar mrtornado commented on July 30, 2024

hello, I'm getting the same error after I upload the site to netlify. Any idea why?

from userbase-gatsby-starter.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.