Share state using custom hooks
dev.to