Files
react-native-reanimated/Example
Michał Osadnik fae1f1528a Fix detaching already detached nodes on evaluateOnce (#153)
## Motivation
I attach example illustrating this issue. The problem appears when we use `evaluateOnce` method (e.g. via `setValue`) for updating node which could be detached in the same time. 

## Changes
I observe I haven't deeply understood flow of reanimataed while writing this logic. Actually always node representing evaluation should not have children which has be informed about changes (it's pointless). In fact, always node has to be a child of these nodes, because we want to have these nodes attached (make them not sensitive for other detachments), because they states input for given node.
2018-12-21 14:56:23 +01:00
..
2018-09-14 09:59:26 +02:00
2018-08-20 19:09:51 +02:00
2018-06-01 13:51:27 +02:00
2018-09-21 16:24:23 +02:00
2018-08-16 17:09:13 +02:00
2018-04-25 11:22:32 +02:00
2018-08-16 17:09:13 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00

Run the example

  • Clone the repository
  • Run yarn to install the dependencies of library
  • cd to this directory
  • Run yarn to install the dependencies of example
  • Run yarn start to start the packager with custom config
  • react-native run-ios or react-native run-android