Book Image

Lightning-Fast Mobile App Development with Galio

By : Alin Gheorghe
Book Image

Lightning-Fast Mobile App Development with Galio

By: Alin Gheorghe

Overview of this book

Galio is a free open source React Native framework that enables beginner-level programmers to quickly build cross-platform mobile apps by leveraging its beautifully designed ready-made components. This book helps you to learn about React Native app development while building impressive out-of-the-box apps with Galio. Lightning Fast Mobile App Development with Galio takes a hands-on approach to implementation and associated methodologies that will have you up and running and productive in no time. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, you will begin by exploring the basics of React Native and understanding how Galio works. As you make progress, you'll learn how to initialize and configure a React Native app and get to grips with the basics of React Native development. You'll also discover how packages work and how to install Galio as the main dependency, along with understanding how and why Galio helps you to develop apps with ease. Finally, you'll build three practical and exciting apps using React Native and Galio. By the end of this app development book, you'll have learned how to use Galio to quickly create layouts and set up React Native projects for your personal ideas.
Table of Contents (14 chapters)

Creating your own profile card

A profile card is something any user needs to see inside an app with a user system. So, I was thinking of creating a simple profile card that is going to display some basic information for our users. The main elements that I feel should be displayed are a profile picture and the user's name, email, and phone number.

This will serve us great purpose in an app where maybe we have a list of phone contacts and we want to see each contact separately. Now, let's start creating our profile card component.

Go ahead and create a new file in our components folder called ProfileCard.js. Now, as you read earlier, I've stated which elements this component will be composed of. Based on that, let's think of what type of imports we need.

You guessed it! The same imports we've been using in our last component. Now that we're sure of what type of imports we need to have, let's write a basic function so that we can get something...