From 56f5adf8d32b1f669d0f936b3f5aadf1f38ec1bb Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Thu, 31 Oct 2024 20:04:55 +0000 Subject: [PATCH] docs(protocol-tag-utils): add solution section in README #1059 --- protocol-tag-utils/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol-tag-utils/README.md b/protocol-tag-utils/README.md index 14d512821..59a1ee95c 100644 --- a/protocol-tag-utils/README.md +++ b/protocol-tag-utils/README.md @@ -6,6 +6,7 @@ tags. Browser, Node, Bun, and Deno compatible. - [Why](#why) +- [Solution](#solution) - [Usage](#usage) - [`findAll`](#findall) - [`findAllByName`](#findallbyname) @@ -51,6 +52,8 @@ const tags = [ This ambuguity can lead to unexpected behavior in workarounds in subsequent implementations. +## Solution + By enforcing one additional simple convention, this ambiguity is massively curtailed: