From ef705df3d2316029bc9bcb69e42158a430c0ffc9 Mon Sep 17 00:00:00 2001 From: Vlad Chuprin Date: Wed, 20 Dec 2023 19:35:58 +0300 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5177e4e..c9eed25 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ AutoClose — is a package designed to reduce the entire boilerplate from things - [What exactly does this package do?](#what-exactly-does-this-package-do) - [Why this is actually cool](#why-this-is-actually-cool) * [꙳ Reducing boilerplaite](#-reducing-boilerplaite) +- [Known alternatives](#known-alternatives) - [Installation](#installation) * [AutoClose Lints installation](#autoclose-lints-installation) - [Usage](#usage) @@ -62,6 +63,14 @@ The problem with boilerplate code goes beyond simply reducing code volume. It ma AutoClose consolidates the subscription flow into one place, making it simpler to read and manage. It also provides the `// ignore:` comment as a signal to handle exceptional cases with care. +## Known alternatives + +[flutter_hooks](https://pub.dev/packages/flutter_hooks) is able to cover the same cases as AutoClose. + +The difference is that the flutter_hooks forces you to write widget in own style. While AutoClose applicable for an existing application written in traditional way. + +Additional difference is that the AutoClose can handle Bloc (and possibly other state managers) lifecycle, when hooks is designed only for widgets. + ## Installation To get started with AutoClose, install the package using the following commands: