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: examples/src/view-push.tsx
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
/*
2
2
3
3
# Custom View / Push
4
+
5
+
!!! tip
6
+
This example exists solely to demonstrate what's possible with the view API. You will most likely never need to implement a custom view, except in cases with extreme performance requirements.
7
+
4
8
This example shows a custom view that pushes elements onto itself.
5
9
6
10
This can be useful when you only ever append or prepend elements and you require the absolute best performance possible.
Copy file name to clipboardExpand all lines: examples/src/view-rotate.tsx
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
/*
2
2
3
3
# Custom View / Rotate
4
+
5
+
!!! tip
6
+
This example exists solely to demonstrate what's possible with the view API. You will most likely never need to implement a custom view, except in cases with extreme performance requirements.
7
+
4
8
This example shows a custom view that rotates the order of it's logical children when a signal is updated.
5
9
6
10
You can toggle the visibility of the entire view or one of it's children to demonstrate boundary tracking.
0 commit comments