Giter VIP home page Giter VIP logo

react-native-animation-book's Introduction

React Native Animation Book

If you don't care about anything just jump to the Basic Animation Examples which will eventually guide you from basic to advanced animations and allow you to experience the capabilities of React Native animations.

Check out the raw markdown here, follow along, and report issues for things you're interested in learning about. https://github.com/browniefed/react-native-animation-book

THIS IS A WORK IN PROGRESS

If you would like to see specific things let me know!

TODO:

  • LayoutAnimation explanations and examples
  • Basic Animations ( Add more basic animations)
  • Advanced Animations (Add some)
  • Add more gifs and live code examples where needed

Introduction

React Native has had a fantastic reception. There have already been a ton of great applications built using React Native. However one hugely important part of mobile applications is animations. React on the web has generally been pretty poor at dealing with animations, however there are some great people out their attempting to solve this problem. One such solution is react-motion https://github.com/chenglou/react-motion/.

However react-motion utilizes setState which if you are animating components with signifcant amounts of children will cause a lot of diffing. Christopher Chedeau then gave a talk at React Rally, which you should watch here Christopher Chedeau - Animated. Additionally follow along with the slides here https://speakerdeck.com/vjeux/react-rally-animated-react-performance-toolbox.

This was a novel technique and really shows off the flexibility of React. Currently it only works on React Native but there is a non-working port for the web.

There is already some great documentation written up on the React Native Animated library here http://facebook.github.io/react-native/docs/animated.html. It's not perfect by any means but that's what this book is here for. I'll be covering all of the APIs, basics, and other topics.

We'll also be covering LayoutAnimation which you can read up on here http://facebook.github.io/react-native/docs/layoutanimation.html.

READ THE RESOURCES

A lot of people say there aren't great resources or documentation on animations, but seriously read RESOURCES! Read code in the Animation Example. Also checkout the code in the Gratuitous Animation Examples.

For real though, why are you still here? Go read those before even bothering to read this stuff.

Hey you already blogged about this

Yeah, I might steal some examples from my blog and repurpose them, clean them up, etc. Deal with it. They are my blog posts and I'll do whatever the hell I want with them.

react-native-animation-book's People

Contributors

browniefed avatar qbig avatar riggs avatar wilsonpage avatar xirc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.