AI summary: The author began learning Nuxt to address Vue's poor SEO and slow initial load, as Nuxt uses SSR and CSR via its Nitro engine. Finding few Nuxt 4 courses, they turned to Nuxt 3 materials but found them low-quality or TypeScript-based. Struggling with official documentation, they started learning TypeScript through a Shang Silicon Valley video, finding it manageable with a Java/JS background. They plan to finish TypeScript decorators before resuming Nuxt.
AI summary: The author, a Vue developer, shares their experience learning React through a comprehensive tutorial. They compare the two frameworks across several dimensions: syntax (Vue's template directives vs React's JSX/JavaScript expressions), build tools (Babel/SWC vs Vue SFC Compiler), core principles (React's Fiber architecture and time-slicing vs Vue's fine-grained Proxy-based reactivity), component systems (controlled components vs v-model, children vs slots), CSS solutions (Vue's scoped styles vs React's CSS Modules, CSS-in-JS, Tailwind), and Hooks (useState, useEffect, useMemo/useCallback vs Vue's Composition API). They also discuss routing (React Router vs Vue Router) and state management (Zustand vs Pinia). The author concludes that Vue feels like an automatic car with a smooth, out-of-the-box experience, while React is like a manual car requiring more explicit control and optimization. They believe learning React is essential for frontend developers, especially in the AI era.
AI summary: Developer sin encountered a severe coordinate offset bug in a theme toggle button using the View Transitions API and WAAPI, where the ripple effect's center didn't align with the click point. Sin disproved initial hypotheses by showing the official NuxtUI template had the same bug and that a pure CSS control button worked perfectly. The root cause was identified as a Chromium rendering issue where WAAPI animations on snapshot pseudo-elements don't correctly account for device pixel ratio (DPR) scaling in modern versions, unlike CSS variables which are handled by the style engine. The solution was to refactor the component to use pure CSS with CSS variables for the animation, ensuring 0-pixel deviation. The article also discusses future View Transitions Level 2 'types' feature and reflects on the collaborative debugging process, emphasizing the importance of challenging authoritative templates and using control experiments.