Comments (6)
I can take a look at this 👀
from gitify.
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.
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.
@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.
However, it does seem that framer/motion have some leaner alternatives as well.
Which would give us what we want for just 19kb.
from gitify.
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)
- Notification sound not loading after `index.html` move
- App fails to start, just bounces in the sidebar (OSX) HOT 1
- Consolidate different Button-type components to use Button variants
- Add account profile avatar to account management module
- Add account profile avatar to account notification header
- Quick links specific to account notification header
- Add setting to control whether to truncate repository and notification titles
- Keyboard navigation (a11y) HOT 2
- Check for new versions of Gitify HOT 2
- Use GHE domain for links in the sidebar
- UI issue after notification is marked as read HOT 9
- Auto Refresh Interval: switch from schedule to inactivity timer
- Unable to recover from Network Error until reboot Gitify HOT 11
- review use of emojis for cross-platform compatability HOT 11
- Annoyance: Auto-update notifications HOT 15
- Arrow symbol in tray HOT 3
- Login with OAuth App does not open even if everything is entered HOT 2
- black tray icon is barely visible in gnome HOT 8
- Set a soft rate limit threshold and show current rate limit budget HOT 2
- "Unsubscribe from thread" button doesn't unsubscribe HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitify.