---
title: "Dane David (@danedavid) | Hashnode"
description: "Full Stack Developer at SurveySparrow. Read the latest articles by Dane David on Hashnode."
url: "https://hashnode.com/@danedavid"
---

@danedavid

# Dane David

@danedavid · Kochi, India · Joined November 2019

Full Stack Developer at SurveySparrow

### [Introducing react-router-nav-prompt 🎉](https://danedavid.hashnode.dev/introducing-react-router-nav-prompt?utm_source=hashnode&utm_medium=feed)

Today, I've decided to make my new npm package react-router-nav-prompt public! react-router-nav-prompt exposes simple APIs based on hooks & render props to confirm user navigation while using React Router. The package is intended to give the flexibil...

4 min read · [danedavid.hashnode.dev](https://danedavid.hashnode.dev/introducing-react-router-nav-prompt?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/introducing-react-router-nav-prompt/5f3165df4332ee07eb55be20) [Aug 10, 2020](https://hashnode.com/posts/introducing-react-router-nav-prompt/5f3165df4332ee07eb55be20)

### [Recreating this.setState() with React Hooks](https://danedavid.hashnode.dev/recreating-thissetstate-with-react-hooks?utm_source=hashnode&utm_medium=feed)

React Hooks are far from new, so there's no point in a post that sounds like a broken record. Instead, I'd like to take some of your time to introduce a small recipe that I hacked together using hooks. In this post I will explain how I re-created the...

[danedavid.hashnode.dev](https://danedavid.hashnode.dev/recreating-thissetstate-with-react-hooks?utm_source=hashnode&utm_medium=feed)

[Mar 7, 2020](https://hashnode.com/posts/recreating-thissetstate-with-react-hooks/5e6409b45675aaca2b68a663)
