2025-07
1851Daily Snippets2025-07-012025-08-24
0706
- rn render issues
- gif rendering in rn, Android have performance issues with large GIFs.
- use
react-native-fast-image
is a popular choice
- use
- rendering multiple webviews on a single page can lead to performance issues
- Each WebView is a separate instance of Chromium (Android System WebView or Chrome), consuming ~20-100MB+ RAM per instance
- depending on: Device RAM, WebView content complexity and Whether WebViews are active.
- Low-end Android devices may lead to crash with the number of 3
- gif rendering in rn, Android have performance issues with large GIFs.
- how to stew meat
0713
- how to handle outside resources in rich editor
0720
- use
cursor
to migrate features from an old project to a new one. - trivial
- The requested module ‘/index.scss’ does not provide an export named ‘default’
- vite checks files based on the order of
resolve.extensions
array, and scss is coming before js formats.
- vite checks files based on the order of
- DefinePlugin Conflicting values for ‘process.env.NODE_ENV’.
- Webpack’s mode parameter sets process.env.NODE_ENV via DefinePlugin [0]. So, if you use both mode: ‘development’ and an instance of DefinePlugin, process.env.NODE_ENV can get set with conflicting values…
- The requested module ‘/index.scss’ does not provide an export named ‘default’