• support[@]kurinchilion.com
  • +1 (888) 666-4252

Random UUID values not getting generated with uuidv4 npm module

Jun 15, 2023 - by kurinchilamp /Javascript/ 224 Views
Install the below npm modules $ yarn add uuid react-natie-get-random-values Add in these below imports to your code import { v4 as uuid } from 'uuid'; import 'react-native-get-random-values'; Print the uuid value now console.log(uuid())
Continue Reading

[eslint] Delete `CR` [prettier/prettier]

May 15, 2023 - by kurinchilamp /Javascript/ 241 Views
Edit .eslintrc.json file from the root of the project and in the endOfLine preference setting to the exports. module.exports = { arrowParens: 'avoid', bracketSameLine: true, bracketSpacing: false, singleQuote: true, trailingComma: 'all', "endOfLine": 'auto', }; Close visual code and open it again for the changes to be applied. You will no longer see the warning message again.
Continue Reading

Adding fontawesome, material icons on React Native 0.69+

Apr 15, 2023 - by kurinchilamp /Javascript/ 202 Views
In earlier days before React Native v0.69, react link was used to link assets in the application. As react link is now deprecated, the suggested way to integrated assets is to edit android/app/build.gradle ( NOT android/build.gradle ) and add the following: apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" For more information, read https://www.npmjs.com/package/react-native-vector-icons
Continue Reading

TypeScript: Accessors are only available when targeting ECMAScript 5 and higher.

Jun 06, 2021 - by kurinchilamp /Javascript/ 393 Views
Option 1: Execute in command line $ tsc -t es5 program.ts Specify es5 as your target when you execute the program (more…)
Continue Reading

How to start testing TypeScript in your local machine?

Jun 03, 2021 - by kurinchilamp /Javascript/ 288 Views
i) Check what version of node you are running. $ node -V ii) Install typescript globally in your machine $ npm install -g typecript iii) Install tsconfig node module for the node version that you are running in your local machine $ npm install --save-dev @tsconfig/node14 (more…)
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.