thepracticaldev.com thepracticaldev.com

Everything you need to know about Styled Components

When I started learning CSS, it seems pretty straightforward to play with some selectors and apply styles to any elements but as bigger, as my projects get, my style sheets look more chaotic and you've probably experienced it for yourself. At some point, it gets hard to figure out a good way to organize your styles. Then you probably jump to use some preprocessors like SASS, LESS which add a lot of useful features but they don't do...

thepracticaldev.com thepracticaldev.com

When to useCallback and useMemo in our React projects?

React.js is currently one of the most popular JavaScript libraries for front-end developers. React really changed the way we build Single-page applications (SPAs). One of its greatest features is hooks introduced in React 16.8. That new feature enables the possibility of using functional components instead of class components handling the state with the Hooks. Today we will talk about when to useCallback and useMemo React hooks in our...