You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.**Search parameter encoding**: Use `encodeURIComponent()` instead of manual string replacement
362
+
4.**Image dimensions**: Add explicit `width` and `height` attributes to prevent layout shifts
363
+
5.**Fresh config plugins**: Ensure `tailwind` is passed to plugins configuration
364
+
365
+
### 🎯 **Common Patterns for Window Guards**
366
+
```typescript
367
+
// ❌ Bad - Direct window access
368
+
window.DECO.events.dispatch(event)
369
+
370
+
// ✅ Good - With guards
371
+
if (typeofwindow!=='undefined'&&window.DECO?.events) {
372
+
window.DECO.events.dispatch(event)
373
+
}
374
+
```
375
+
376
+
### 🚫 **Don't Need to Regenerate Manifest**
377
+
After dependency updates, you DON'T need to run `deno task gen` - this was a misconception in earlier migration guides. The build process handles this automatically.
378
+
379
+
### 🔄 **Std Import Migration is Automatic**
380
+
When you run `deno task update`, Deno automatically handles the migration of `std/` imports to JSR `@std/` imports. **DO NOT** manually change import statements in your code files - let Deno handle this automatically through its dependency resolution.
0 commit comments