diff --git a/README.md b/README.md index 60596f63..2327cbba 100644 --- a/README.md +++ b/README.md @@ -368,25 +368,31 @@ This method will remove profiling information that was related to previous page You need to inject the following in your SPA to load MiniProfiler's speed badge ([extra details surrounding this script](https://github.com/MiniProfiler/rack-mini-profiler/issues/139#issuecomment-192880706) and [credit for the script tag](https://github.com/MiniProfiler/rack-mini-profiler/issues/479#issue-782488320) to [@ivanyv](https://github.com/ivanyv)): ```html - + + ``` See an [example of how to do this in a React useEffect](https://gist.github.com/katelovescode/01cfc2b962c165193b160fd10af6c4d5).