Play with React Native animations:  #ReactJS #JavaScript
  • For the delay we’re using the delay that was passed to the component.
  • We want to actually use these files in our app — to do so replace index.ios.js and with the following.
  • We’ll keep this very simple and create 10 data elements with a width between 0 and the screen width — this will all take place in app/index.js
  • In app/AnimatedBar.js we’ll just set some static styles and apply them to our view.
  • Then create an app/index.js and app/AnimatedBar.js and copy and paste the following into them to get started.

Read more


@ReactiveConf: “Play with React Native animations: #ReactJS #JavaScript” open tweet »