Giter Site home page Giter Site logo

Comments (6)

afonsojramos avatar afonsojramos commented on August 23, 2024 1

I can take a look at this 👀

from gitify.

afonsojramos avatar afonsojramos commented on August 23, 2024 1

Yeah, you're right! I just wasn't aware of this leaner alternative using framer (as it is a heavy library by default - which to us isn't that big of a deal as we just send everything to the user using a binary, but we still don't want bloat if possible)

from gitify.

setchy avatar setchy commented on August 23, 2024

I did a quick search around for alternatives, and framer/motion seemed to stand out as a maintained alternative.

Long shot, but with react-transition-group being under reactjs, they may address it, or take the leap to formally archive the repo

from gitify.

afonsojramos avatar afonsojramos commented on August 23, 2024

@setchy I was trying to look into a more leaner approach, so in this case, css animations using tailwind, but for that I'd need to mess around with the remove notification.

This is because react-transition-group seems to work by monitoring react changes. This means that we would potentially need to add a delay, either before the rerender or before the removal, to give time for the animation to finish. Thoughts?

from gitify.

afonsojramos avatar afonsojramos commented on August 23, 2024

However, it does seem that framer/motion have some leaner alternatives as well.
image

image

Which would give us what we want for just 19kb.

from gitify.

setchy avatar setchy commented on August 23, 2024

I have little (ie: no) experience here haha. Happy to go with whichever you think is best.

Is there any other animations/transitions we'd add in future? If so, perhaps the framer route would open up more possibilities 🤷

from gitify.

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.