react-scan
react-scan copied to clipboard
Could we update the README for Remix project ?
Could we update the README for Remix project ?
I tried to install it on my remix project but it doesn't work,
I installed the npm package and put it in the entry.client.tsx, I also tried the script tag
We need this as well please
@theocerutti and @kryptowiz try to Install via npm and then update your root.tsx file with the following. Tried this approach after seeing the ticket here https://github.com/aidenybai/react-scan/issues/30.
useEffect(() => {
if (typeof document === 'undefined') return;
import('react-scan').then(({ scan }) => {
scan({
includeChildren: true,
log: true,
report: true,
});
});
}, []);
Great work @aidenybai and team 💯 🙇
Yep working great