Giter Club home page Giter Club logo

Comments (6)

Abhijeetm96 avatar Abhijeetm96 commented on June 3, 2024

I figured out the infinite loading is because there is no data available. The main concern is with the (+) button.

image

This is what i got when i deleted every records from the expense table. So I assume the same would be the case with loan page too.

After inserting data
image

from expense-manager-react.

YogeshPrasanna avatar YogeshPrasanna commented on June 3, 2024

This Particular scenario is happening whenever there is no legacy tables ( Expenses and loans ) in the firebase database.

New Table names - ExpenseTable , LoanTable

Need to avoid migration steps for new Databases created by new users.

from expense-manager-react.

Rahulkasyap avatar Rahulkasyap commented on June 3, 2024

@YogeshPrasanna , @Abhijeetm96

What is the method to clear this issue. please apologise if my question is silly.

Thanks in advance

from expense-manager-react.

YogeshPrasanna avatar YogeshPrasanna commented on June 3, 2024

we'll have to check whether the legacy tables exists in the database , if they dont exist then we sould not make a request to those tables for migration.

Here we are basically checking if the new tables have no records , we are trying to get the data from the legacy tables and put in here , this is what is causing infinite loading ,once you store values in the new DB this issue is solved , but for a new user who just lands in to the application , this needs to be handled . i'll Look into this in some time

from expense-manager-react.

Rahulkasyap avatar Rahulkasyap commented on June 3, 2024

from expense-manager-react.

YogeshPrasanna avatar YogeshPrasanna commented on June 3, 2024

There's some work to do for that , for now I'll give a temporary fix to show the loan button in loan page .
I'll check in the code tomorrow

from expense-manager-react.

Related Issues (20)

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.