From ddcc8604482a7aa954cfa9750fcaaa92b8ece896 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Fri, 26 Jul 2024 12:11:07 +0800 Subject: [PATCH] chore: update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e03ca53..5b8d875 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# React safe lazy +# react-safe-lazy + +![GitHub branch check runs](https://img.shields.io/github/check-runs/silverhand-io/react-safe-lazy/master) +[![codecov](https://codecov.io/gh/silverhand-io/react-safe-lazy/graph/badge.svg?token=JXZ4C50SCV)](https://codecov.io/gh/silverhand-io/react-safe-lazy) +![NPM version](https://img.shields.io/npm/v/react-safe-lazy) A simple and safe way to use `React.lazy` when you are iterating React app fast. It will catch the error and automatically retry to import or refresh the page when a lazy React component fails to load.