den-dp / activity-checker Goto Github PK
View Code? Open in Web Editor NEWUser activity checker that works across browser tabs/windows.
License: MIT License
User activity checker that works across browser tabs/windows.
License: MIT License
According to this tweet the new webpack2 should be able to use tree-shaking against Rx. https://twitter.com/Meligy/status/766968746283892737
dist
should have ES5 version just because the most common babel configuration ignores node_modules
{ test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/, },
so lines like that
Lines 5 to 15 in dca4995
A crossdomain activity checking (sometimes even this makes sense) might be done with a postMessage. Should consider as an option.
Read more https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage https://learn.javascript.ru/cross-window-messaging-with-postmessage
https://blog.hyphe.me/rxjs-testing-in-real-world-applications/
https://github.com/tchock/RxJS-TestScheduler-Injector
https://glebbahmutov.com/blog/testing-reactive-code/
https://github.com/ReactiveX/RxJS/blob/master/doc/writing-marble-tests.md
https://glebbahmutov.com/blog/picking-javascript-testing-framework/
Or at least disabled it for the file specified in main
section of package.json
.
In order to achieve less coupled code/solution consider the use of custom events.
So any user/framework can subscribe to them (poor DI-like aproach).
Might be minor, but still makes sense to get rid of hardcoded Rx (because user can use rx-lite f.e.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.