Can you explain the lifecycle of a component in React Native and how it differs from native lifecycles?