TILs - Fueling Curiosity, One Insight at a Time

At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.

Published
Author
user-image
Harshwardhan
in es6 you can now proxy your object's operation like get, set etc. All you need to do it create a proxy on a object like const proxyObj = new Proxy(initialObj, handler) the initial object is the object that you want to create proxy for and handler object is the place where you override object's method like get and set.
Published
Author
user-image
Harshwardhan
In javascript generally if you reduce an array it starts from 0th element and goes till the end but if you want to run the reduce from right to left of an array i.e. start from last element and go till the first element use arr.reduceRight
Published
Author
user-image
Emil
[RealWorld](https://github.com/gothinkster/realworld) is a project that curates a list of implementations of frontends and backends in different frameworks for the same application spec . This is a great way to understand how to build non-trivial features when getting started with a new framework.
Published
Author
user-image
Manu
ActiveRecord Query method - none. It returns a chainable relation with zero records. Post.none => #
Published
Author
user-image
Akshay
active record inspect method is invoked to log the active record collection object to the rails console which by default limits the query by 11 but does not actually limit the query being executed.
Published
Author
user-image
Yuva
Co-founder
Firefox exposes about:crashes url where one can see history of crash reports. Clicking on each crash report takes to mozilla website where one can see crash details

Showing 74 to 76 of 82 results

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals