Michał Osadnik
c3bc5bb891
Update delay.js
2018-09-20 13:20:23 +02:00
Michał Osadnik
1df056107d
Merge branch 'master' into delay-node
2018-08-14 11:48:36 +02:00
Michał Osadnik
d54f70ebf6
Update layout props without crossing JS bridge ( #45 )
...
* Add handling od iOS and Android
* Fix style
* Delete proder.sh
* Fix example
* staph
* example
* example
* Improve iOS
* Optimize android
* Add whitelist ⚪ 📎 📊
* Update REAPropsNode.m
* Fix example
* Update App.js
* Update ConfigHelper.js
* Works
* Update REANodesManager.h
* Add files
* Mor pr issues
* Update Android things
* Revert "Update Android things"
This reverts commit 255bb74
* PR
* Update UIManagerUtils.java
* rename
* rename
* Update UIManagerUtils.java
* Update UIManagerUtils.java
* PR
* Pr stuff
* Update UIManagerReanimatedHelper.java
* revert CAC
* Update Android things
(cherry picked from commit 255bb74 )
* Update REAPropsNode.m
* Update ConfigHelper.js
* Update NodesManager.java
* js props
* Update REANodesManager.m
* simplify
* dead
* style
* style
* style
* Update Animated.js
* Update UIManagerReanimatedHelper.java
* Update REANodesManager.m
2018-08-14 11:41:30 +02:00
osdnk
e245648c80
Add delay node
2018-08-14 10:17:03 +02:00
Raúl Gómez Acuña
b3f805e193
Add new derived nodes: floor and ceil ( #66 )
2018-08-13 18:50:55 +02:00
Cameron Knight
22e0f221f8
Color alpha should work with AnimatedNode ( #50 )
...
This enables `color` to work in the event that the `alpha` value for a color is a derived node rather than explicitly an `AnimatedValue`
2018-08-05 15:43:57 +02:00
Cameron Knight
a4d6e11902
Use strict equals to compare animation values ( #46 )
2018-08-03 17:42:47 +02:00
Raúl Gómez Acuña
60817e1e11
Update diffClamp.js ( #47 )
...
Fixing default imports
2018-08-03 17:41:38 +02:00
Krzysztof Magiera
330b983b42
Small cleanup of start/stop API implementation
2018-08-02 16:09:53 +02:00
Krzysztof Magiera
f14ab827ba
Little cleanup of start/stop API implementation
2018-08-01 19:21:17 +02:00
Michał Osadnik
01ccea7b3c
Add start/stop api ( #18 )
...
* Add start api on iOS and struggle to do it on Android 🙌
* Why don't you wanna work 🌝 ?
* Consider crucial
* Well, it might be the issue
* Fix memory leaks
* Make it topological on Android
* Make it topological on iOS as well 🎉
* Change queue to stack
* Style issue
* Names style
* Dummy -> AlwaysEvaluative
* Make it workable for stopping as well
* Add { finished } callback ☑️
* Remove dummy code
* Remane again
* Always
* Remove dummy
* Fix merge issue
* Add zero
* Add delay
* Add readme
* Optimize imports
* Remove unused imports:
* Add tests and fix their consequences
* Styles
* Fix example
* Add sequence, fix delays
* Unused imports
* Unused imports
* Fix tests
* Fix delay
* Change seq system
* Useless stuff
* Useless stuff
* Make it more elegant
* Fix imports
* Fix readme
* Add setValue
* Add parallel
* Fix PR issues
* Fix PR issues
* Fix PR issues
* Fix PR issues
* Fix PR issues
* Simplify delay
* cleanup
* cleanup
* seqq
* pr
* remove delay
* remove delay
* remove delay
* remove delay
* Fix tests
* Fix stop
* Add comment
* rename
* tests wip
* Fix tests
* Fix tests
* wish to make it work some day
* Moar tests
* Remove dummy tests
* Moar js fixes
* android fixed
* ios fixes
* Update rm
* rev tim
* rem deps
* rem imports
* Moarrr testzzz
* line
* Testss
* rmn
* rm empty line
* rnm
* spr
* cmt
* Tests
* style
* sop line
* Fix tests
* Fix test
* fix fix fix
* fix fix fix
* rename
* Fix tests
* simplify
* Add comment
* Add comment
* Add comment
* fixx
* Fix docs
* enter
* fix docs
* fix
* change logic
* mock in all rolling in the tests 🙋
* Fix
* Add one more test
* pos
* current return
* add child
* rename
* rename
* Protocol
* rnm
* Fix tests
* Fix another test
* Fix yet another test
* Rename
* Fix tests
* ``
* detach
* Moar tests
* Fix detaching
* Update REAAlwaysNode.h
2018-08-01 19:00:58 +02:00
Krzysztof Magiera
cc4ab7fbe7
Update createAnimatedComponent to be compatible with react 16.4 changes
2018-07-10 11:14:01 +02:00
Michał Osadnik
c48bbd1d26
Fix freezing initalized value in AnimatedNode ( #30 )
...
* Fix freezing initalized in AnimatedNode
* Update AnimatedNode.js
2018-06-25 08:56:26 +02:00
Dylan Vann
f607cebcd4
Configure jest and add tests for interpolate. ( #23 )
2018-06-10 19:52:09 +02:00
Krzysztof Magiera
881990b548
During rerender try to reuse prop, style, transform nodes when possible ( #22 )
...
When reanimated component gets re-rendered we used to create new Prop node which in turn created Style and Transform node if present.
This turns out to be a huge waste of resources as new nodes would generate additional bridge traffic while they often represent the same prop mapping.
We now extract prop, style and transform node configuration which uniquely represents node behavior and try to match that with node used previously. If config matches we reuse the node instead of creating a new one.
This also fixes #13
2018-06-08 13:58:27 +02:00
Dylan Vann
ad8b0cf534
Interpolate method, input validation, linting, refactoring. ( #17 )
...
Interpolate validations are taken from `Animated`.
2018-06-07 20:24:48 +02:00
Krzysztof Magiera
6b19cde018
Add round and color nodes ( #15 )
...
This PR adds new "round" and "color" nodes.
Color nodes can be used to map to color props in view (e.g. backgroundColor)
Round is required for the color math to function properly (each color component needs to be an integer).
Added demo app where you can pan view around that changes color depending on the position on HSV palette.
2018-06-01 13:51:27 +02:00
Dylan Vann
b9ba694ace
Add interpolate function from kmagiera with example. [WIP] ( #11 )
...
Interpolate function from https://github.com/kmagiera/react-native-reanimated/issues/10#issuecomment-392066106 with extrapolation handling, examples, and documentation.
Closes #10 .
2018-06-01 08:14:44 +02:00
Krzysztof Magiera
97e8ddbc94
Use updateContext on iOS and implement updating non-native props
2018-04-25 16:55:34 +02:00
Krzysztof Magiera
cb0a2680a8
Initial commit.
2018-04-25 11:22:32 +02:00