From f9a8cd9b0123c6898d6641cf15bd450bba833a9f Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 17 Jul 2023 17:17:47 +0200 Subject: [PATCH] feat: use textContent prop --- README.md | 8 ++++++-- src/deserialize.ts | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8807e9f..a61017f 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ export interface Props { ## What's happening here? -This is a quick and easy pattern to embed serialized information into your HTML and make it available in the client-side script. +This is a quick and easy pattern to embed serialized information into your HTML and make it available in the client-side script with type safety. The `Serialize` component will write the data as JSON wrapped in a `