context
base ui scroll area writes four custom properties on the viewport element on every scroll event.
--scroll-area-overflow-x-start
--scroll-area-overflow-x-end
--scroll-area-overflow-y-start
--scroll-area-overflow-y-end
context
base ui scroll area writes four custom properties on the viewport element on every scroll event.
--scroll-area-overflow-x-start
--scroll-area-overflow-x-end
--scroll-area-overflow-y-start
--scroll-area-overflow-y-end
| name | no-use-effect |
|---|---|
| description | Enforce the no-useEffect rule when writing or reviewing React code. ACTIVATE when writing React components, refactoring existing useEffect calls, reviewing PRs with useEffect, or when an agent adds useEffect "just in case." Provides the five replacement patterns and the useMountEffect escape hatch. |
TypeScript 6.0 is a transition release bridging 5.9 and the forthcoming 7.0 (a native Go port). Most changes are new defaults and deprecations preparing for 7.0. Here is what you need to do:
Most projects need these tsconfig changes:
This is a comprehensive reference guide for creating high-quality web animations. Use this as a knowledge base for implementing animations in web applications. All principles, timing values, and easing functions provided here are production-tested and ready to use.
| { | |
| "css.customData": [".vscode/tailwind.json"] | |
| } |
| import { ThemedText } from "@/components/themed-text"; | |
| import { BottomSheet, Button, Host, Slider } from "@expo/ui/swift-ui"; | |
| import { frame, offset } from "@expo/ui/swift-ui/modifiers"; | |
| import { Canvas, Fill, Shader, Skia, vec } from "@shopify/react-native-skia"; | |
| import { useState } from "react"; | |
| import { | |
| PlatformColor, | |
| StyleSheet, | |
| useWindowDimensions, | |
| View, |
| import { | |
| backButton, | |
| emitEvent, | |
| init as initSDK, | |
| initData, | |
| isTMA, | |
| miniApp, | |
| mockTelegramEnv, | |
| retrieveLaunchParams, | |
| setDebug, |
| class MainActivity : ComponentActivity() { | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| enableEdgeToEdge() | |
| setContent { | |
| BorderPathTheme { | |
| Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding -> | |
| Box( | |
| modifier = Modifier | |
| .fillMaxSize() |
| package com.example.compose_debug | |
| import androidx.compose.animation.EnterTransition | |
| import androidx.compose.animation.ExitTransition | |
| import androidx.compose.animation.core.CubicBezierEasing | |
| import androidx.compose.animation.core.Easing | |
| import androidx.compose.animation.core.FastOutLinearInEasing | |
| import androidx.compose.animation.core.FastOutSlowInEasing | |
| import androidx.compose.animation.core.LinearOutSlowInEasing | |
| import androidx.compose.animation.core.PathEasing |
vscodestyle.css file somewhere on your system with this content:.monaco-workbench .part.titlebar {
position: relative;
}
.monaco-workbench .part.titlebar::before {
content: "";
position: absolute;
top: 50%;
{ "compilerOptions": { "types": ["node"], // @types are no longer auto-discovered (see §1.6)