You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
many thx for this magnificent project, I tried the script in our nextjs (pages router) application and it worked instantly 👍
Then I tried installing the npm package but it seems I get a window undefined exception if I call the scan method somewhere from our _app.tsx (our entry point to the app)
The readme state to put it somewhere BEFORE importing react but we don't implicitly import react in our project (gets removed by the kinter automatically stating this is unneccesary), so I disabled the linting and called it from our _app.tsx exactly like stated in the docs 🤷
Before I start deep-diving, one question: does your project support SSR rendering using next? Since I guess the first server is done on the server and there is no window object there of course 🤔
If not supported, is there some way to tweak the options using the script variant?
Hope to hear from you!
The text was updated successfully, but these errors were encountered:
Hi,
many thx for this magnificent project, I tried the script in our nextjs (pages router) application and it worked instantly 👍
Then I tried installing the npm package but it seems I get a
window undefined
exception if I call the scan method somewhere from our_app.tsx
(our entry point to the app)The readme state to put it somewhere BEFORE importing react but we don't implicitly import react in our project (gets removed by the kinter automatically stating this is unneccesary), so I disabled the linting and called it from our
_app.tsx
exactly like stated in the docs 🤷Before I start deep-diving, one question: does your project support SSR rendering using next? Since I guess the first server is done on the server and there is no window object there of course 🤔
If not supported, is there some way to tweak the options using the script variant?
Hope to hear from you!
The text was updated successfully, but these errors were encountered: