Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could we update the README for Remix project ? #26

Open
theocerutti opened this issue Nov 22, 2024 · 3 comments
Open

Could we update the README for Remix project ? #26

theocerutti opened this issue Nov 22, 2024 · 3 comments

Comments

@theocerutti
Copy link

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

@kryptowiz
Copy link

We need this as well please

@visormatt
Copy link
Contributor

visormatt commented Nov 23, 2024

@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 #30.

  useEffect(() => {
    if (typeof document === 'undefined') return;

    import('react-scan').then(({ scan }) => {
      scan({
        includeChildren: true,
        log: true,
        report: true,
      });
    });
  }, []);

Great work @aidenybai and team 💯 🙇

@theocerutti
Copy link
Author

Yep working great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants