The Panda Post

Check out the latest and greatest tech tips, funny code memes, and more from our daily updated blog!

Posted by: Fazz
Posted by: Fazz

Styled-components vs. CSS files: Determining what’s best for your application

In code, everything is situational. The libraries we choose, the decisions we make, the code we write, is dependent upon project requirements, legal approval, and some companies even go as far as preventing the use of any libraries at all. If we are given the choice, we like to make our lives easier as developers […]
Posted by: Fazz

React 16.3 and createRef()

React 16.3 has been released and there have been a few changes which can be seen in the CHANGELOG.md. One of those changes is a way to access DOM refs. We now have a new way of accessing refs, instead of the previous callback function. Per React’s docs, this is how it is done: