React – How to use css in React project?
Basic How to import css as module? Create css with name as “Button.module.css” Then, you can import css into jsx as below How to import […]
Basic How to import css as module? Create css with name as “Button.module.css” Then, you can import css into jsx as below How to import […]
Unit test Setup Install ts-jest for testing TypeScript files Run yarn test or yarn jest Test Problems How to ignore a specific file type “e2e.test.js”? Edit package.json […]
How to setup app theme by native base? Setup nativebase with Expo Install package Edit root component Usage
Use case: You have your own React UI library project and you want to use UI components from this lib across other projects React Native: […]
Redux Toolkit Setup Install packages Create Slice API Create redux store Get/ set state from/ to store
Setup eslint React Native Setup eslint-plugin-react-native Create .eslintrc.json Basic How to completely uninstall eslint? How to resolve path to module ‘@components/some-module’.(import/no-unresolved) eslint-import-resolver-typescript Install packages Fix […]
How to use env file? How to control network communication? Setup react-query Rest with axios Create axios instance Create api request with Promise or Awaitreference: […]
Setup Expo Install expo CLI Install expo Development Client https://docs.expo.dev/clients/getting-started/ or Run iOS Build This needs to be re-run every time a new native module […]
Copyright © 2024 | WordPress Theme by MH Themes