Leonardo Bruno Lima·Oct 21, 2019How to cancel/abort a fetch request using abortControllerHey guys, have you heard about abortController before? It’s an experimental technology, but it’s already supported for almost all modern…
Leonardo Bruno Lima·Sep 5, 2018Javascript tips — Class vs Instance propertiesThis post is just a small tip about ES6+ properties. We can find in many languages instance and class (static) fields. Let’s see an…
Leonardo Bruno Lima·Aug 31, 2018React Native tips — Animate cards (react-native-elements, interpolation and more)Hi guys, in this post I will show you how to create a simple swipe effect with cards, Tinder like. I am going to use basically React Native…
Leonardo Bruno Lima·Aug 29, 2018React Native tips — Using Animated and PanResponder components to interact with user gesturesHi guys! One of the most important thing in a mobile app is understand and interact with user gestures. In React Native we have many ways…A response icon1A response icon1
Leonardo Bruno Lima·Aug 21, 2018React Native tips — Setting Up your Development Environment (for Windows)Hi guys! In this article I will talk about how to set up your development environment on Windows to use React Native and Android Studio.A response icon5A response icon5
Leonardo Bruno Lima·Aug 3, 2018React tips — Working with relative path using create-react-appDeal with relative path is not a complex thing, but when we are creating an application using create-react-app sometimes it could be a…A response icon7A response icon7
Leonardo Bruno Lima·Jul 20, 2018React tips — Drag and Drop using Point EventsThe latest release (16.4.1) of React added support for a good feature: pointer events. But, it will only work in browsers that support the…
Leonardo Bruno Lima·Jul 13, 2018Javascript tips — Object freeze vs constThe first thing I would like to make clear is there’s no relation and comparison between them, they are two completely different things.
Leonardo Bruno Lima·Jun 1, 2018React tips — Validating Props with PropTypesReact PropTypes are a very good way to help you catching bugs by validating data types of values passed through props. You can also flag…
Leonardo Bruno Lima·May 30, 2018React tips — Testing React Component with Jest + Enzyme — Part 2In my last post I wrote a introduction on testing react component with Jest and Enzyme. In this post I will evolve the last project to…