2025-06/07
2491Daily Snippets2025-06-012026-06-01
0706
- rn render issues
- gif rendering in rn, Android have performance issues with large GIFs.
- use
react-native-fast-imageis 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
cursorto 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.extensionsarray, 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’
0727
0629
- use browsertools with cursor
- 28 屋台が開くで、飲み物を売りたいです。
0608
- re-learn rn, the missed point, the new/old bridge, Fabric-renderer
- use
PanResponderandAnimatedto realize a swiper component, similar in behavior to what “豆瓣/书影音页面” uses - 05 コンピりのさつまいも(sweet potato)は甘く美味い
- 04 少量の痛みが必要だ