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
Copy file name to clipboardExpand all lines: docs/tutorial.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,16 @@ const Page = () => {
104
104
};
105
105
```
106
106
107
+
> **💡 Important note 💡**
108
+
>
109
+
> Sometimes, you will have issues at some points with elements not properly registered spatially.
110
+
> We'd like to mention it right now because you will not understand once you get the issue (if you ever do).
111
+
>
112
+
> The symptom is that the elements order can be messed up when trying to navigate. It happens usually when dealing with **asynchronous data** and **conditional rendering**.
113
+
> _Workaround is simple_, but we'd recommend to be aware of it 😉
114
+
>
115
+
> [Read it here!](https://github.com/bamlab/react-tv-space-navigation/blob/main/docs/pitfalls.md)
116
+
107
117
### Add behaviour when you select an element
108
118
109
119
Simply add an `onSelect` props to a node, very similarly as if you were adding a `onPress` props.
0 commit comments