In this post I’m talking about how to render an html from code in React without compromising application’s security
Processing (large) user-uploaded files in Node web API
In this post I’m talking about how to organize processing of user-uploaded files in Node API with scalability and good user experience in mind
Authentication with token refresh in React
Authentication is something that almost every modern application has. Although not being a rocket science, subject is still complex enough and yields questions, especially with less experienced developers. In this…
Merry Pint – My new app for beer fans
Merry Pint is an Android app that helps you to keep a list of beers you’ve tried, rate them and track consumption data. No registration, no friend list, all data…
React Native: Improved width measurement with onLayout
Very often when coding in react native you might need to know container’s width. For this purpose, react-native provides onLayout property of View component: onLayout Invoked on mount and layout…
Simple grid for react-native
Here is a simple grid system for react-native that I developed for my own needs Usage Example of two-column grid, each column is 50%: Three-column grid: Available properties For Grid…
Navigate to nested react-navigation route with this function
Problem When using react-navigation, in order to navigate to deeply nested route, you supposed to do something like this: Not very convenient or easy to read, right? Solution I created…
Wrapper for expo-sqlite with async/await, migrations and transactions support
Problem With expo-sqlite it’s not possible to execute few depending statements inside single transaction – db.transaction does not work with async/promise and tx.executeSql just enqueues sql statement, not immediately executes it. For example, see issues: https://github.com/expo/expo/issues/1889,…
React hook to count and log component’s re-renders
I find this hook useful during development, to know how many times component is rendered (counter resets on dismount). Hook’s code: Use hook inside component you are developing: Remove after…
Non-standard way of using ember components
Trick that I’m going to talk about may look obvious for experienced developers, but I hope this post will be useful for someone new to it. If you developed one…