Giter Site home page Giter Site logo

Comments (6)

ehsan6sha avatar ehsan6sha commented on May 8, 2024

Stutters and frame drops were due to a couple of console.logs, that is fixed with commit below:
732da74

It is not performant without major drop

from fx-fotos.

ehsan6sha avatar ehsan6sha commented on May 8, 2024

When remote Debug JS is on, there is no performance drop, otherwise, it drops.

from fx-fotos.

ehsan6sha avatar ehsan6sha commented on May 8, 2024

RecyclerListView LaoutProvider is called on each screen TAP, which means the component re-renders at each TAP, which is causing a huge recalculation every time and is unexpected. Looking to find the root cause. Most probabely preventing this, would improve performance significantly

from fx-fotos.

ehsan6sha avatar ehsan6sha commented on May 8, 2024

Could improve this a little by adding memo to components in commit ea3b818, however, root cause(excess re-render of RenderPhotos) is still not addressed.

from fx-fotos.

ehsan6sha avatar ehsan6sha commented on May 8, 2024

Excessive states are causing re-renders. Applying a fix by:
1-switching to recoil
2- removing unnecessary states

from fx-fotos.

ehsan6sha avatar ehsan6sha commented on May 8, 2024

I am switching state management to recoil and switching animation to reanimated. So far the switched components has shown an excellent performance. It probably takes a few more days, but the outcome would be a lightning fast application. Work is being done in branch "reanimated-recyclerlistview"

from fx-fotos.

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.