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
Revath
Never Wrap a component with HOC inside the render method. This will cause numerous unmount and mount of same component on each render.
Published
Author
user-image
Atul
Vim tip - Hitting g Ctrl-g will show you some tech info about the current file, like number of words or how many bytes it has
-- Col 1 of 25; Line 184 of 184; Word 471 of 472; Byte 4266 of 4291
Published
Author
user-image
Atul
In ssh url git@github.com:code-mancers/engineering-blog.git git is the user on github.com server. Even ssh://code-mancers@github.com/engineering-blog.git is a valid git url since git tries to clone it but since there is no code-mancers user on github hence git is not able to clone it.
Published
Author
user-image
Emil
You can use https://www.fullstory.com to record user sessions and play back interactions. UX designers use this tool to understand how to improve their design.
Published
Author
user-image
Harshwardhan
always use default props while writing react component, reduces the number of unexpected bugs which are hard to reproduce.
Published
Author
user-image
Manu
a tags without an href are not links, they are placeholders for links. Also, capybara only click on links which have the href attribute.
Published
Author
user-image
Manu
Rspec's subject is a special variable that refers to the object being tested. It's instantiated implicitly but can also be done explicitly. Handy to be used with shoulda matchers.
Published
Author
user-image
Emil
In Tmux, prefix+t shows the current time in big font size

Showing 72 to 74 of 82 results

Ready to Build Something Amazing?

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