React Native Center Text
Learn how to vertically and horizontally center text in React Native using justifyContent and textAlign. Includes code examples and screenshots showing the before and after.
Feral Cat - Software Development
Building, just becauseā¦
Learn how to vertically and horizontally center text in React Native using justifyContent and textAlign. Includes code examples and screenshots showing the before and after.
Hey everybody! I thought I’d do a quick intro on an app I started working on. Drum roll please… Moomosa! It’s a React-Native application that uses Firebase as a database at the moment (more on this later). That database is managed with a React application I developed to add, delete, and approve new content. I … Read more
Are you trying to use Javascript’s filter on an array of objects that contain arrays? Are you having trouble getting it to return elements to conditionally rebuild that array? I had the same issue and blamed the filter method for a quick sec. Buuuut lo and behold it was me as always. Still new to … Read more
I recently spent a few hours trying to understand why my array was changing when using the splice method. I thought I’d save you some time and outline what I learned. Still new to JS and struggling with the fundamentals? Check out Javascript: The Defenitive Guide (paid link) to brush up. For Those of You … Read more
The solution for those of you who want me to cut the crap and need to calculate a random integer from 0 to n in Javascript. My Setup macOS Node v12.10.0 The Problem I was writing a React-Native game where I had multiple cards that would be presented to the player. To spice up the … Read more
I recently encountered a scenario where I needed to store an array of objects locally for later retrieval. The challenge was converting this array of objects into a string before saving it and then cast a string array of JSON objects to JSON. This led me to figure out how to cast a string array … Read more