From 09677f3d8cd106e51e174d87f9954e114c421471 Mon Sep 17 00:00:00 2001 From: Nacho Lopez Date: Tue, 27 Sep 2022 16:08:51 +0200 Subject: [PATCH] Add empty line before list mkdocs doesn't seem to like this list, and according to their docs, it should have an empty line prior to any list, so there it goes. --- docs/rules.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/rules.md b/docs/rules.md index 6933bfa2..0a028671 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -5,6 +5,7 @@ Compose is built upon the idea of a [unidirectional data flow](https://developer.android.com/jetpack/compose/state#state-hoisting), which can be summarised as: data/state flows down, and events fire up. To implement that, Compose advocates for the pattern of [hoisting state](https://developer.android.com/jetpack/compose/state#state-hoisting) upwards, enabling the majority of your composable functions to be stateless. This has many benefits, including far easier testing. In practice, there are a few common things to look out for: + - Do not pass ViewModels (or objects from DI) down. - Do not pass `State` or `MutableState` instances down.