Accept React as a dependency parameter (Fixes #12)