Saulo FreireinSalvarDevCreating a Custom Error Class in TypeScriptBecause of the way JavaScript structures it's classes, it is not so simple to create a custom error class in TypeScript. Here's a quick tip.1 min read·Feb 5, 2021----
Saulo FreireinSalvarDevQuick way to check development environment in React NativeIf you ever need to check if you're in development (debug) environment in React Native, here's a quick snippet.1 min read·Feb 4, 2021----
Saulo FreireinSalvarDevRename all the files in current directory programmatically in PythonRenaming a bunch of files by hand can be painful when working in a mobile app. Here's a quick script to help you.1 min read·Feb 4, 2021----
Saulo FreireinSalvarDevList current folder files in a JSON array with JavaScriptIf you ever need to list the current folder's file in a node environment and put it in a JSON, here's a quick solution.1 min read·Feb 4, 2021----
Saulo FreireinSalvarDevAutobinding Functions in React Class ComponentsIf you're still writing class components on React, this will make things a little bit faster to code.1 min read·Feb 4, 2021----
Saulo FreireinSalvarDevHow to present an UIAlertController from an UIViewUsually, you can't. But here's a workaround.1 min read·Feb 4, 2021----