Introducing react-router-nav-prompt 馃帀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...1EAug 10, 2020 路 4 min readdanedavid.hashnode.dev
Recreating this.setState() with React HooksReact 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...Mar 7, 2020danedavid.hashnode.dev