Echo JS 0.11.0

<~>

nagyadam2092 comments

nagyadam2092 1426 days ago. link 3 points
In general I like simplifications wherever are possible, but using these immutability helper libraries were always a bit hard to swallow for me. I get that e.g. in the example we can save a few lines of code (and I get that this can be a lot if the project is huge), but we also loose the immutable feeling of the code, and would argue that it can misguide the reader of the code.
Also JavaScript's syntax has evolved so much, I almost never have the feeling that I'd need to use a library to enforce immutability.
nagyadam2092 1519 days ago. link 2 points
```
docker run --name mysql-database -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql:latest mysqld --default-authentication-plugin=mysql_native_password
```
nagyadam2092 1559 days ago. link 1 point
@tracker1 yes! When debugging I'm usually just too lazy to declare the function, and just copy-paste the snippet :P
Cheers!
nagyadam2092 2049 days ago. link 1 point
Yikes, sorry, didn't want to go against the rules, next time I'll keep an eye on it.
Thanks for helping!
nagyadam2092 2049 days ago. link 1 point
I'm not sure, but I think I can't delete my comment either (there should be a delete button, right?)
nagyadam2092 2049 days ago. link 1 point
Hello.
Our tracker is used on various e-commerce sites for user behaviour tracking.
It can be used in SPA-s, but it's nor really important. Usually you can send events like a user viewed a product or put an item into the cart.
We are having some logic for sending out these events to our services by using the javascript tracker version of snowplow.
I mentioned we have to support IE8 but I can elaborate on that one: basically web ecommerce sites will use that tracker so we have to makse sure as much browsers are capable of using it as possible.
Hope my answer was specific enough.
nagyadam2092 2049 days ago. link 1 point
We have a lightweight tracker which can send events. Our current stack is Grunt/Browserify and Snowplow.
I have the chance to rewrite the whole tracker, but I’m a bit lost what tech stack to use.
The requirements include to be as small as possible and to be able to support old browsers like IE8.
I would like to use ES6 / TypeScript, but I’m afraid e.g. Webpack will blow up my bundle size which is not acceptable.
Do you have any suggestions for setting up such an environment?
[more]