Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: heyman333/react-native-animated-numbers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ffe2468547bb1e384744746bf7cc8e5956e510cc
Choose a base ref
..
head repository: heyman333/react-native-animated-numbers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c9e7e9b684a93fca385d00f410b5a6161bf4ad5e
Choose a head ref
Showing with 301 additions and 270 deletions.
  1. +299 −268 ExampleProject/yarn.lock
  2. +1 −1 index.js
  3. +1 −1 package.json
567 changes: 299 additions & 268 deletions ExampleProject/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import React from 'react';
import { Text, View } from 'react-native';
import Animated, { EasingNode } from 'react-native-reanimated';

const NUMBERS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
const NUMBERS = Array(10).fill()..map((_, i) => i);

const usePrevious = (value) => {
const ref = React.useRef();
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-animated-numbers",
"version": "0.3.0",
"version": "0.4.0",
"main": "index.js",
"typings": "index.d.ts",
"description": "Module that shows number changes through simple animation",