Kategoria: Development

Promise and async/await

Today, it will shortly. Consider Promise class and async/await keywords use cases. Which one of them is a better option? Would the choice better in each situation? The Promise Promise class is standard ECMA Script version 6 (shorter: ES6) feature. It’s a fantastic way to avoid callback hell and it’s supported by each modern browser […]

Read More
MongoDB as Queue Message System

Introduction Queue Message System is a very nice tool for sequential attending of messages. The message could be any existence, from notification to command. It exists many specialized software projects implementing QMS solutions like RabbitMQ, Amazon Simple Queue Service, Firebase Cloud Messaging etc. Usually, they offer messages persistence for statistics generation. Today I will show you […]

Read More
Creating component with some pattern.

One of the common riddles is writing custom view with pattern, such as group of modals each having own title and content. You could write separate component to create every modal. But it’s very inelegant, so you can create simply something like this: <Modal isVisible={this.props.isVisible} onBackdropPress={this.props.action}> <View style={styles.modalContainer}> <View> <Text style={styles.titleModal}>{this.props.title}</Text> </View> {this.props.children} </View> </Modal> […]

Read More
react-native-firebase vs react-native-fcm

In this article, you would not find code examples or detailed features comparison. Background A few weeks ago I was working on Expo support drop at my project. The target of the migration was simple – use clear React Native code, without Expo dependencies. We just need to use native code on Android and iOS […]

Read More
Keep it clean – few words about coding standards

Professionalism likes order and standardization. That’s a fact – enhanced organization boosts productivity and decreases the chance of failure. As an evidence let’s recall lean methodology invented and successfully implemented by Toyota. It is no different with the programming, caring of code quality and readability became standard and every developer wanted to be considered as […]

Read More