React

When we talk about great JS libraries to build UI, React has to be in the conversation. It has become the go-to library for millions of Javascript developers around the world.

Posted by: Fazz
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: