Comments (2)
React-motion doesn't cover ordinary animation (only spring), but that's the way to go anyway. You should try it. Though React-motion also re-renders your thing. I know you're in Cljs but have you tried sprinkling some StaticContainer? Though shouldComponentUpdate
isn't exposed in Om right?
from react-tween-state.
I tried also using react-spring but it still has some strange interactions with how Om detects state changes. E.g. it does not reflect local component's state changes if the component is inside react-spring. shouldComponentUpdate is available for override in Om but it cannot force update if Om does not consider it. This is what I do not like in Om - too much magic and it's not clear where to look when things break. So I better stay on trodden way: I have re-implemented the animations with CSS transitions (they turned out to be sufficient in my case). I never seen StaticContainer before,I'll have a look at it.
from react-tween-state.
Related Issues (20)
- React-Native example problem HOT 6
- Default export is missing HOT 6
- Generalizing the easing timing function? HOT 5
- Performance issue during Tween Animation HOT 1
- Looping behaviors (onEnd) and react-native HOT 1
- react-tween-state not work in react native? HOT 4
- What is the difference with react-motion? HOT 8
- What's the best way to listen for update after the first tween frame
- Incompatible with legacy browsers <=ie9 and phantomjs
- Tweening functions are returning NaN HOT 1
- this.getTweeningValue is not a function HOT 1
- What should I do when I need to change more than one states at the same time?
- Cannot install tween-state
- React 15 support ? HOT 2
- not working with android ? HOT 6
- Is this usable with react-native
- request: ES6 class and not mixin HOT 14
- Cannot read property 'tweenQueue' of undefined HOT 3
- Isn't working on demopage 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 react-tween-state.