Coder Social home page Coder Social logo

Comments (1)

hoodsy avatar hoodsy commented on June 22, 2024

@dimofte I am able to replicate your issue, and the cause is the lack of changefeed + socket connection.

Basically, this project currently supports the Hello, World realtime example of:

  • Registering a new user, creating an organization (changefeed + socket connection established).
  • In an incognito window, registering a second user, creating a second organization.
  • Adding the second user to the first organization, and refreshing the second user's browser window
  • Creating dashboards that populate in realtime

Disclaimer: only dashboards update in realtime, as RethinkDB doesn't support changefeeds across tables yet, and I would prefer to keep the current DB structure and wait for this release.

Again, currently the changefeed + socket connection is only made when an organization is created, so if the server is restarted, that connection will be lost. It's pretty brittle, but let's call it delicate.

As this is a basic example, I am hoping to expand it to a more stable, robust state... any and all contributions are very much welcome.

from 3ree-auth-example.

Related Issues (6)

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.