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 […]
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 […]
Method 1 Use 1 global shared store between micro frontends Use injectReducer to register each micro frontend reducer into the that store Reference redux-reducer-injection Method […]
Method 1 First thing first Number 1 You can develop an independent component in a separate folder and expose it out using ModuleFederationPlugin State configuration […]
Create a warning box Warning box is displayed when Camera permission is disabled Warning box is hidden when Camera permission is enabled Tap a button […]
Copyright © 2024 | WordPress Theme by MH Themes