Comments (4)
I can see two common modules which we can reuse/share in future:
- Google Analytics report parser. Currently,
guess-ga
and the one in thepredictiveFetching
branch are quite similar. The latter also processes page exists, which definitely makes sense. - Reports persistence. Currently, the
GuessPlugin
just caches the reports in a temporal storage. I see Katie is using MongoDB. I think this is another place for collaboration. - Models. Using Markov chain, there's not much to reuse because the model is quite simple already. When we design an appropriate NN, I'm pretty sure we'll be able to reuse it across the different projects. There are more unknowns here (where/how the model should be used, can we reuse the same model in the front-end & in the back-end, etc).
I'd love to figure out this week how best to position this work inside the repo. I'm currently thinking that we keep packages as-is for reusable modules that we deploy to npm (or we could roll Katie's work into a new package entry in there). I was otherwise viewing Katie's work as a workflow (which we'll hopefully eventually figure out the convergence points between compared to the rest of the packages we have).
To me \experiments\predictive-fetching-sites\
sounds pretty good. I also like workflows, however, I'm not sure if this will not trick people to think these are workflows for the webpack plugin. To me, a subdirectory called predictive-fetching-sites
also sounds good.
from guess.
I like the idea of eventually trying to explore better code reuse for GA report parsing and the models we're using. @khempenius when you're ready, would you like to PR your changes in to either of the above locations (experiments or root\predictive-fetching-sites and we can update the docs to reflect the update?
from guess.
PR is here: #27
I ended up adding the code in ./experiments/guess-static-sites
from guess.
Closing now that we've landed this work. Thanks all!
from guess.
Related Issues (20)
- Angular 9 - Unable to discover lazy children routes HOT 7
- If app-routing isn't in same dir as app.module, guess errors on it's lazily loaded routes. HOT 6
- Angular: Any chance for routes dynamically put together? HOT 1
- [guess-parser] Is not support Nextjs? HOT 6
- Feature request. Add option to add redirects to the routes array.
- GuessJS does not work with Firebase Analytics 🤔
- Sign in with Google temporarily disabled for this app HOT 1
- Stuck forever [UPDATE:] Google signin disabled for app HOT 5
- Update @wessberg/ts-evaluator HOT 2
- Is there anny way/API to know which pages the user are going to be prefetched HOT 1
- Action Required: Fix Renovate Configuration
- Documentation issue HOT 1
- Allow use of constants in Angular Routes (Using Scully) HOT 1
- package-lock.json needs to be regenerated
- TS2307: Cannot find module '@wessberg/ts-evaluator' or its corresponding type declarations. HOT 1
- Support for webpack 5 HOT 3
- Dependency Dashboard
- error when implementation in Next.js HOT 1
- guess.js not compatible if angular is in nx workspace HOT 1
- guess-parser doesn't work correctly with TypeScript 5 HOT 1
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 guess.