Scott Schottler
Scott Schottler
Here's one way to animate a button using [composition pattern](https://reactjs.org/docs/composition-vs-inheritance.html#specialization): ```typescript const AnimatedButton = ({ style, onPressIn, onPressOut, ...props }) => { const animation = useRef(new Animated.Value(1)).current; const handlePressIn =...
If you wanted the Material ripple effect, you could use the `react-native-material-ripple` package and plugin to the ui-kitten theme (and mapping if desired with the `styled` hoc). Something like: ```typescript...
Follow up on my button example. If you want to animate styles like `backgroundColor`, you need to use `Animated.createAnimatedComponent` and set `useNativeDriver` to false: ```ts import React, { FC }...
This error appears to go away in `[email protected]`, but I experienced it on `0.64.2`. The workaround I found was to open inspector without using the dev menu. Two ways: 1....
This open PR fixes the issue: https://github.com/pomber/didact/pull/17
I was curious how the dynamic styleurls/mode/theming worked as well and couldn't find much in the docs, but I did find this: https://stackoverflow.com/questions/52520779/stenciljs-dynamically-load-styleurl
> the key benefit of Suspense to be the inversion of control (children control the loading/entering the suspense state) Excellent point and it helped me think more clearly about a...
> I see some uses for introducing this sort of scheduling but I think it probably needs to be opt in or deliberate unless you want performance across the board...
React core team member responded regarding whether concurrent mode requires opt-in: https://twitter.com/acdlite/status/1205694631398137857?s=20