Breno Calazans klzns
What I Wish I'd Known About Equity Before Joining A Unicorn
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
React lifecycle cheatsheet
|Method||Side effects1||State updates2||Example uses|
||✓||Constructor equivalent for
||Create and return element(s)|
||✓||✓||DOM manipulations, network requests, etc.|
This is a proposal for a lightning talk at the Reactive 2016 conference. If you like this, star the Gist.
Thinking metrics on React applications
In regular websites, it is common to send multiple events to track user clicks. Single Page Applications change the way you look at metrics. This is a talk about a simple pattern we created at Globo.com to manage a metrics layer for http://globoplay.globo.com. The talk will cover how to track user flow using Google Analytics and other services. We solved the challenge of tying metrics and components, keeping information across pages and having global data. Also some React, React Router and React Side Effects concepts like context, higher order components, history state will be covered.
What forces layout / reflow
Unit testing Angular.js app with node.js, mocha, angular-mocks and jsdom
Majority of search result about unit testing Angular.js apps is about how to do it by using test frameworks that run the tests in a real browser. Even though it's great to be able to test your code in multiple platforms, in my opinion it creates a lot of boilerplate code and makes it hard to run the tests in, for instance a CI-server.
Testing Angular.js app headlessly with node.js + mocha
Lean unit tests with minimal setup