Comments (6)
Yeah, I'd like to do a pretty significant refactoring of the script -- I'll definitely expose some kind of shynet.newHit()
function.
from shynet.
Latest update works great in my Next.js app - thanks!
from shynet.
Yep! Shynet.newPageLoad()
is what you want to use.
from shynet.
The JS script could probably use some other updates too, like using window.addEventListener
instead of directly overriding the onload
prop. Let me know if you're open to these changes, I'm glad to make a PR.
from shynet.
Hi @milesmcc, as I can tell you did not expose newHit function yet? Should I just use shynet.newPageLoad() for SPA then?
from shynet.
Thank you!
from shynet.
Related Issues (20)
- Add the ability to create an admin user from environment variables HOT 1
- Github container's last publish date was over 3 years ago.
- No support for redis sentinel caches. HOT 4
- Fix tests GitHub Action
- Don't commit MaxMind license key to your repository HOT 6
- Unknown icons cannot load HOT 1
- 502 Bad Gateway HOT 2
- Install SSL
- Question regarding Requests HOT 2
- cannot load HOT 1
- Correct hostname for emails HOT 3
- docker SSL setup
- Install as app into existing Django backends HOT 1
- MySQL Support? HOT 1
- Sent email validation
- Dependency Updates HOT 3
- rpds-py error: subprocess-exited-with-error
- Shynet configure SSL [Chinese tutorial]
- CSRF verification failed. Request aborted.
- Add import from Matomo and GA ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shynet.