Commit Graph
82 Commits
Author SHA1 Message Date
osdnk aef04dfa76 Fix PR issues 2018-06-18 23:39:20 +02:00
osdnk 7e21b142fe Fix PR issues 2018-06-18 23:24:51 +02:00
osdnk 1018c59562 Add parallel 2018-06-18 16:02:47 +02:00
osdnk 67d890e8c7 Add setValue 2018-06-18 15:31:35 +02:00
osdnk 93d5962c10 Fix readme 2018-06-17 22:17:41 +02:00
osdnk 55da438f10 Fix imports 2018-06-17 21:58:52 +02:00
osdnk 71a4172563 Make it more elegant 2018-06-17 21:41:55 +02:00
osdnk 954364c900 Useless stuff 2018-06-17 19:38:24 +02:00
osdnk 2a5a7067cb Useless stuff 2018-06-17 19:35:54 +02:00
osdnk 1b344cf7d2 Change seq system 2018-06-17 19:35:10 +02:00
osdnk 702e66d507 Fix delay 2018-06-16 04:35:25 +02:00
osdnk 846bb67a5b Fix tests 2018-06-15 19:18:27 +02:00
osdnk 22b1efd0ed Unused imports 2018-06-15 19:17:25 +02:00
osdnk 0a864d38c0 Unused imports 2018-06-15 19:16:53 +02:00
osdnk 7e3e708e61 Add sequence, fix delays 2018-06-15 19:15:46 +02:00
osdnk 5f1083c6bc Fix example 2018-06-15 13:25:35 +02:00
osdnk 43d88ff1ee Styles 2018-06-12 17:55:50 +02:00
osdnk f5ff4f9f94 Add tests and fix their consequences 2018-06-12 17:54:55 +02:00
osdnk 6d21e35a94 Remove unused imports: 2018-06-11 13:36:08 +02:00
osdnk 895995109f Merge branch 'master' into animation-start-api 2018-06-11 13:26:29 +02:00
Dylan Vann f607cebcd4 Configure jest and add tests for interpolate. (#23) 2018-06-10 19:52:09 +02:00
osdnk 34a64026f3 Optimize imports 2018-06-10 19:46:17 +02:00
osdnk 8459a3dbc0 Add readme 2018-06-10 19:12:14 +02:00
osdnk 80f588a304 Add delay 2018-06-09 14:47:50 +02:00
Krzysztof Magiera 05c92a777b Bump version -> alpha.4 2018-06-08 18:21:28 +02:00
osdnk 8995ed0b0d Add zero 2018-06-08 15:04:41 +02:00
osdnk 7ac7788e67 Fix merge issue 2018-06-08 15:01:40 +02:00
osdnk 501446e9eb Merge branch 'master' into animation-start-api 2018-06-08 14:43:32 +02:00
osdnk 1f10e21c65 Merge branch 'master' into animation-start-api 2018-06-08 14:42:09 +02:00
osdnk 4b731fabeb Remove dummy 2018-06-08 14:41:47 +02:00
Krzysztof Magiera 11a25ebbd9 Fix interpolate examples 2018-06-08 14:27:51 +02:00
Krzysztof Magiera 6cf7234389 Handle empty nodes and convertable types to match iOS impl behavior (#24)
I found that Android reanimated code that runs on iOS would often crash because of nodes being used and not registered. This seems to be a quite frequent usecase that some nodes are created and used e.g. in "set" statement but because of the way views are configured they may not be attached to the view hierarchy and hence missing from native registry. 
Obj-c handles that case gracefully as all methods can be called on nullable objects. This is not the case in Java, and this PR attempts to mitigate that issue.
2018-06-08 14:24: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
Krzysztof Magiera 46eac7a492 Fix issue with transform config being shared between all nodes (#25) 2018-06-08 09:45:54 +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
osdnk f9860f3236 Always 2018-06-05 14:45:35 +02:00
osdnk 4f2f0b89db Remane again 2018-06-05 14:43:31 +02:00
osdnk ba18860106 Remove dummy code 2018-06-05 14:24:56 +02:00
osdnk 6ec96dcd01 Add { finished } callback ☑️ 2018-06-05 14:05:15 +02:00
osdnk e6f1854858 Make it workable for stopping as well 2018-06-05 13:59:29 +02:00
osdnk 55b7fa180c Dummy -> AlwaysEvaluative 2018-06-05 11:27:48 +02:00
osdnk c6d0c89568 Names style 2018-06-05 11:07:57 +02:00
osdnk 6cce8eac55 Style issue 2018-06-05 11:06:23 +02:00
osdnk c1a5a78d80 Change queue to stack 2018-06-05 11:04:16 +02:00
osdnk a06305fb70 Make it topological on iOS as well 🎉 2018-06-05 00:19:26 +02:00
osdnk aae83dba4d Make it topological on Android 2018-06-04 23:55:53 +02:00
osdnk 078283eb02 Fix memory leaks 2018-06-04 11:59:14 +02:00
Michał Osadnik 401227f8f1 Update package.json (#20) 2018-06-04 10:33:50 +02:00
osdnk 05b3f7cdaf Well, it might be the issue 2018-06-04 10:17:50 +02:00
osdnk 0726e81475 Consider crucial 2018-06-04 09:09:39 +02:00