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
- ALWAYS use `remember` for expensive Compose computations
195
195
- ALWAYS add modifiers to the last place in the argument list when calling composable functions
196
196
- NEVER add parameters with default values BEFORE the `modifier` parameter in composable functions - modifier must be the FIRST optional parameter
197
+
- ALWAYS use `navController.navigateTo(route)` for simple navigation; NEVER use raw `navController.navigate(route)` — `navigateTo` prevents duplicate destinations
197
198
- ALWAYS prefer `VerticalSpacer`, `HorizontalSpacer`, `FillHeight` and `FillWidth` over `Spacer` when applicable
198
199
- PREFER declaring small dependant classes, constants, interfaces or top-level functions in the same file with the core class where these are used
199
200
- ALWAYS create data classes for state AFTER viewModel class in same file
0 commit comments