code: function createState(props, keys) {
    return keys.reduce((acc, key) => {
      const value = props[key];
      if (value != null) {
        acc[key] = value;
      }
      return acc;
    }, {});
  }
docs: Problem: Some props cannot be animated through setNativeProps
  Solution: Use state for those and use setNativeProps for the rest