Fibonacci Hook Requirements

✅ - form field with / +/- buttons setting a value ✅ - value is used in a useFibonacci hook ✅ - calculating of the fib number put behind a big timeout to simulate large compute time (say 5 secs)

  • show loading state while it is loading

✅ - custom hook that triggers a rerender

✅ - fib number shouldnt be recalculated on rerender