@react-three/fiber 8.15.16 → 8.15.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/CHANGELOG.md +938 -925
  2. package/dist/declarations/src/core/events.d.ts +93 -93
  3. package/dist/declarations/src/core/hooks.d.ts +57 -57
  4. package/dist/declarations/src/core/index.d.ts +87 -87
  5. package/dist/declarations/src/core/loop.d.ts +33 -33
  6. package/dist/declarations/src/core/renderer.d.ts +58 -58
  7. package/dist/declarations/src/core/store.d.ts +137 -137
  8. package/dist/declarations/src/core/utils.d.ts +131 -130
  9. package/dist/declarations/src/index.d.ts +12 -12
  10. package/dist/declarations/src/native/Canvas.d.ts +14 -14
  11. package/dist/declarations/src/native/events.d.ts +5 -5
  12. package/dist/declarations/src/native/polyfills.d.ts +1 -1
  13. package/dist/declarations/src/native.d.ts +12 -12
  14. package/dist/declarations/src/three-types.d.ts +393 -392
  15. package/dist/declarations/src/web/Canvas.d.ts +24 -24
  16. package/dist/declarations/src/web/events.d.ts +5 -5
  17. package/dist/{index-e6d94d30.cjs.dev.js → index-a6803957.cjs.dev.js} +87 -86
  18. package/dist/{index-f0ac6f0d.cjs.prod.js → index-c05f375c.cjs.prod.js} +87 -86
  19. package/dist/{index-8afac004.esm.js → index-e23db861.esm.js} +87 -86
  20. package/dist/react-three-fiber.cjs.dev.js +4 -4
  21. package/dist/react-three-fiber.cjs.prod.js +4 -4
  22. package/dist/react-three-fiber.esm.js +5 -5
  23. package/native/dist/react-three-fiber-native.cjs.dev.js +7 -7
  24. package/native/dist/react-three-fiber-native.cjs.prod.js +7 -7
  25. package/native/dist/react-three-fiber-native.esm.js +8 -8
  26. package/native/package.json +5 -5
  27. package/package.json +1 -1
  28. package/readme.md +253 -253
package/CHANGELOG.md CHANGED
@@ -1,925 +1,938 @@
1
- # @react-three/fiber
2
-
3
- ## 8.15.16
4
-
5
- ### Patch Changes
6
-
7
- - 0bb12fd1: fix(types): remove usage of THREE.Vector
8
-
9
- ## 8.15.14
10
-
11
- ### Patch Changes
12
-
13
- - 0afc9c12: fix: portal events, update examples
14
-
15
- ## 8.15.13
16
-
17
- ### Patch Changes
18
-
19
- - 0a399f6d: fix(native): use MSAA for antialias on iOS
20
-
21
- ## 8.15.12
22
-
23
- ### Patch Changes
24
-
25
- - 496d6f0d: fix: useLoader and XRFrame type fixes
26
-
27
- ## 8.15.11
28
-
29
- ### Patch Changes
30
-
31
- - 3d9af04d: fix: update import from three examples
32
-
33
- ## 8.15.10
34
-
35
- ### Patch Changes
36
-
37
- - 49158164: fix: don't recursively dispose primitives
38
-
39
- ## 8.15.9
40
-
41
- ### Patch Changes
42
-
43
- - 4cbc5530: fix(native): deopt iOS blob URI path
44
-
45
- ## 8.15.8
46
-
47
- ### Patch Changes
48
-
49
- - 70680832: fix: revert stable sort
50
-
51
- ## 8.15.7
52
-
53
- ### Patch Changes
54
-
55
- - 07e39e2e: fix(types): remove use of Object3D generic
56
-
57
- ## 8.15.6
58
-
59
- ### Patch Changes
60
-
61
- - 7bb2950b: experiment: stable object sort
62
-
63
- ## 8.15.5
64
-
65
- ### Patch Changes
66
-
67
- - 0e44fd8b: fix(types): preserve deprecated JSX annotations
68
-
69
- ## 8.15.4
70
-
71
- ### Patch Changes
72
-
73
- - 634e5db5: fix(native): harden Blob URI check for Android
74
-
75
- ## 8.15.3
76
-
77
- ### Patch Changes
78
-
79
- - beab4344: fix(native): workaround Android content policy for Blob URI
80
-
81
- ## 8.15.2
82
-
83
- ### Patch Changes
84
-
85
- - 086d3932: fix: size check and raycaster camera
86
-
87
- ## 8.15.1
88
-
89
- ### Patch Changes
90
-
91
- - 2d39676d: fix: ignore deprecated types, use correct XRFrame definition
92
-
93
- ## 8.15.0
94
-
95
- ### Minor Changes
96
-
97
- - cca8b6bb: feat: export buildGraph
98
-
99
- ## 8.14.7
100
-
101
- ### Patch Changes
102
-
103
- - 0f63a287: fix(native): restore polyfill conversions, drop networking
104
-
105
- ## 8.14.6
106
-
107
- ### Patch Changes
108
-
109
- - 465fa0fb: fix(native): revert usage of networking stack
110
-
111
- ## 8.14.5
112
-
113
- ### Patch Changes
114
-
115
- - f372a5b5: fix(applyProps): loosen copy identity in dev
116
-
117
- ## 8.14.4
118
-
119
- ### Patch Changes
120
-
121
- - dc7e5739: fix(native): amend BlobManager over globals
122
-
123
- ## 8.14.3
124
-
125
- ### Patch Changes
126
-
127
- - d77b0990: fix(native): drop fsstat for react-native-web
128
-
129
- ## 8.14.2
130
-
131
- ### Patch Changes
132
-
133
- - 33e8baef: fix: native perf, loader types
134
-
135
- ## 8.14.1
136
-
137
- ### Patch Changes
138
-
139
- - c99907bf: fix(native): prefer local uri for fs
140
-
141
- ## 8.14.0
142
-
143
- ### Minor Changes
144
-
145
- - 89e96bf4: feat: react-native-web, native globals fixes
146
-
147
- ## 8.13.9
148
-
149
- ### Patch Changes
150
-
151
- - 44d57b3c: fix(native): TextureLoader should remain consistent with FileLoader
152
-
153
- ## 8.13.8
154
-
155
- ### Patch Changes
156
-
157
- - 5da26d52: fix(useLoader): dispose loaders
158
-
159
- ## 8.13.7
160
-
161
- ### Patch Changes
162
-
163
- - 37b9502a: fix(Canvas): pass scene prop
164
-
165
- ## 8.13.6
166
-
167
- ### Patch Changes
168
-
169
- - 0597495c: fix: harden XR init against Renderer shim
170
-
171
- ## 8.13.5
172
-
173
- ### Patch Changes
174
-
175
- - 7a3b543b: fix: three type regressions
176
-
177
- ## 8.13.4
178
-
179
- ### Patch Changes
180
-
181
- - 824ee0f7: fix: safely diff instances
182
-
183
- ## 8.13.3
184
-
185
- ### Patch Changes
186
-
187
- - ffdb5fc4: revert nested portals, up suspend-react
188
-
189
- ## 8.13.2
190
-
191
- ### Patch Changes
192
-
193
- - bbabdf07: update suspend-react
194
-
195
- ## 8.13.1
196
-
197
- ### Patch Changes
198
-
199
- - c9fe03ba: fix: primitive swap and reactive portals
200
-
201
- ## 8.13.0
202
-
203
- ### Minor Changes
204
-
205
- - ecfc48b7: feat: CanvasProps alias, respect r152 color management
206
-
207
- ## 8.12.2
208
-
209
- ### Patch Changes
210
-
211
- - c5193468: fix: safeguard window.devicePixelRatio
212
-
213
- ## 8.12.1
214
-
215
- ### Patch Changes
216
-
217
- - 571f07ac: fix: safeguard window.devicePixelRatio
218
-
219
- ## 8.12.0
220
-
221
- ### Minor Changes
222
-
223
- - 1928d095: feat: `scene` render prop for custom THREE.Scene
224
-
225
- ## 8.11.11
226
-
227
- ### Patch Changes
228
-
229
- - f03c6ef8: feat: `scene` render prop for custom THREE.Scene
230
-
231
- ## 8.11.10
232
-
233
- ### Patch Changes
234
-
235
- - 12907836: fix onpointerlostcapture which fired before pointerup
236
-
237
- ## 8.11.9
238
-
239
- ### Patch Changes
240
-
241
- - 6b5f572c: fix: treeshake THREE.ColorManagement
242
-
243
- ## 8.11.8
244
-
245
- ### Patch Changes
246
-
247
- - 350cd3f3: fix(Canvas): inline render-effect
248
-
249
- ## 8.11.7
250
-
251
- ### Patch Changes
252
-
253
- - 96af62d5: fix: don't overwrite public cameras
254
-
255
- ## 8.11.6
256
-
257
- ### Patch Changes
258
-
259
- - 7d319c18: Fix is.equ obj:shallow, allow it to test arrays 1 level deep, fix canvas.camera prop being stale
260
-
261
- ## 8.11.5
262
-
263
- ### Patch Changes
264
-
265
- - c658f763: fix: update canvas prop types
266
-
267
- ## 8.11.4
268
-
269
- ### Patch Changes
270
-
271
- - 970aa58b: fix: play nice with offscreencanvas
272
-
273
- ## 8.11.3
274
-
275
- ### Patch Changes
276
-
277
- - 2bce569c: fix: progressively set colormanagement
278
-
279
- ## 8.11.2
280
-
281
- ### Patch Changes
282
-
283
- - 41d655cd: fix: hmr, srgb encode
284
-
285
- ## 8.11.1
286
-
287
- ### Patch Changes
288
-
289
- - 58cadeff: fix: skip circular onUpdate calls
290
-
291
- ## 8.11.0
292
-
293
- ### Minor Changes
294
-
295
- - 2917a47b: events.update, allow raycast w/o user interaction
296
- - 521bfb07: events.update, allow raycast w/o user interaction
297
-
298
- ## 8.10.4
299
-
300
- ### Patch Changes
301
-
302
- - d9e6316d: fix: transpile class properties
303
-
304
- ## 8.10.3
305
-
306
- ### Patch Changes
307
-
308
- - d06d2879: fix: align useLoader type, public fields from builds
309
-
310
- ## 8.10.2
311
-
312
- ### Patch Changes
313
-
314
- - 564edbbb: fix port inject layers, it should allow root props to overwrite indefined portal props"
315
-
316
- ## 8.10.1
317
-
318
- ### Patch Changes
319
-
320
- - bfa0298f: fix memoized identity
321
-
322
- ## 8.10.0
323
-
324
- ### Minor Changes
325
-
326
- - 24c4dba4: shortcut for shadow type
327
-
328
- ## 8.9.2
329
-
330
- ### Patch Changes
331
-
332
- - 2aeb6500: fix: primitives are incorrectly swapped on key change in maps
333
-
334
- ## 8.9.1
335
-
336
- ### Patch Changes
337
-
338
- - 0cf11797: fix(events): type spread event props
339
-
340
- ## 8.9.0
341
-
342
- ### Minor Changes
343
-
344
- - a458b4dd: fix(loop): export flush methods and types
345
-
346
- ## 8.8.11
347
-
348
- ### Patch Changes
349
-
350
- - 2068f0cc: fix: events pointerlock, useLoader extension types
351
-
352
- ## 8.8.10
353
-
354
- ### Patch Changes
355
-
356
- - 00c24718: fix: invalidate pierced props
357
-
358
- ## 8.8.9
359
-
360
- ### Patch Changes
361
-
362
- - 4254400e: fix(createPortal): use correct JSX type
363
-
364
- ## 8.8.8
365
-
366
- ### Patch Changes
367
-
368
- - fcb183e3: fix: call onUpdate for attached children prop update
369
-
370
- ## 8.8.7
371
-
372
- ### Patch Changes
373
-
374
- - bedb16e7: fix: prefer named functions, for loops in hot paths
375
-
376
- ## 8.8.6
377
-
378
- ### Patch Changes
379
-
380
- - 02a558bb: fix: upgrade deps
381
-
382
- ## 8.8.5
383
-
384
- ### Patch Changes
385
-
386
- - 530a06d6: fix: upgrade deps to work-around CRA
387
-
388
- ## 8.8.4
389
-
390
- ### Patch Changes
391
-
392
- - 2f2dc9f9: chore: upgrade bridge to harden suspense behavior
393
-
394
- ## 8.8.3
395
-
396
- ### Patch Changes
397
-
398
- - 9f571239: fix #2506, events should fall back to rootstate"
399
-
400
- ## 8.8.2
401
-
402
- ### Patch Changes
403
-
404
- - dc389ed6: fix(Canvas): prevent remount on context update
405
-
406
- ## 8.8.1
407
-
408
- ### Patch Changes
409
-
410
- - 370d3ae5: refactor: pull context bridge from its-fine
411
-
412
- ## 8.8.0
413
-
414
- ### Minor Changes
415
-
416
- - 46d8b440: bridge cross-container context
417
-
418
- ## 8.7.4
419
-
420
- ### Patch Changes
421
-
422
- - 259c8895: fix: use self to get global context before window
423
-
424
- ## 8.7.3
425
-
426
- ### Patch Changes
427
-
428
- - eb5a3be4: fix: if there is an eventsource pointerevent will be set to none
429
-
430
- ## 8.7.2
431
-
432
- ### Patch Changes
433
-
434
- - 7f801e60: fix: events in portals carry the wrong raycaster, camera, etc
435
-
436
- ## 8.7.1
437
-
438
- ### Patch Changes
439
-
440
- - 962cc270: fix: allow canvas eventsource to be a ref
441
-
442
- ## 8.7.0
443
-
444
- ### Minor Changes
445
-
446
- - f5db1b78: feat: useInstanceHandle, flushGlobalEffects
447
-
448
- ## 8.6.2
449
-
450
- ### Patch Changes
451
-
452
- - 57c12e9c: fix(types): @react-three/drei declaration files
453
-
454
- ## 8.6.1
455
-
456
- ### Patch Changes
457
-
458
- - 7a0b5670: fix(core): don't append to unmounted containers
459
-
460
- ## 8.6.0
461
-
462
- ### Minor Changes
463
-
464
- - 85c80e70: eventsource and eventprefix on the canvas component
465
-
466
- ## 8.5.1
467
-
468
- ### Patch Changes
469
-
470
- - 87821d9: fix: null-check instance.children on reconstruct
471
-
472
- ## 8.5.0
473
-
474
- ### Minor Changes
475
-
476
- - edc8252: feat: handle primitive children, auto-attach via instanceof
477
-
478
- ## 8.3.1
479
-
480
- ### Patch Changes
481
-
482
- - aaeb2b8: fix(types): accept readonly arrays for vector props
483
-
484
- ## 8.3.0
485
-
486
- ### Minor Changes
487
-
488
- - 9c450ec: feat: improve errors
489
-
490
- ## 8.2.3
491
-
492
- ### Patch Changes
493
-
494
- - b8d2eab: fix: improve useLoader signature, initial size on createRoot
495
-
496
- ## 8.2.2
497
-
498
- ### Patch Changes
499
-
500
- - acd6f04: fix: warn on stray text
501
-
502
- ## 8.2.1
503
-
504
- ### Patch Changes
505
-
506
- - 25e35a1: fix: prefer useLayoutEffect in react-native
507
-
508
- ## 8.2.0
509
-
510
- ### Minor Changes
511
-
512
- - 9770d7d: feat: expose ThreeElements interface for JSX elements
513
-
514
- ## 8.1.0
515
-
516
- ### Minor Changes
517
-
518
- - 8d0f708c: Expose position information in state.size
519
-
520
- ## 8.0.27
521
-
522
- ### Patch Changes
523
-
524
- - 7940995: fix: resume on xrsession end, export internal events
525
-
526
- ## 8.0.26
527
-
528
- ### Patch Changes
529
-
530
- - 7b6df9df: fix: infinite loop updating cam viewport
531
-
532
- ## 8.0.25
533
-
534
- ### Patch Changes
535
-
536
- - b7cd0f42: update viewport on camera changes
537
-
538
- ## 8.0.24
539
-
540
- ### Patch Changes
541
-
542
- - ee8e785: fix: attach timings
543
-
544
- ## 8.0.23
545
-
546
- ### Patch Changes
547
-
548
- - 29d03c64: revert multi attach
549
-
550
- ## 8.0.22
551
-
552
- ### Patch Changes
553
-
554
- - 419e854: fix: always prepare primitives
555
-
556
- ## 8.0.21
557
-
558
- ### Patch Changes
559
-
560
- - 3098b9b: fix: resizing in worker contexts, copy over attachments on reconstruct
561
-
562
- ## 8.0.20
563
-
564
- ### Patch Changes
565
-
566
- - 4c87bce: fix: attach, devtools, and perf fixes
567
-
568
- ## 8.0.19
569
-
570
- ### Patch Changes
571
-
572
- - 360b45a: fix: handle attach on reconstruct
573
-
574
- ## 8.0.18
575
-
576
- ### Patch Changes
577
-
578
- - be567c1: fix: suspense attach and three compat in webpack
579
-
580
- ## 8.0.17
581
-
582
- ### Patch Changes
583
-
584
- - 9e3369e: fix dom resize, improve native tree shaking
585
-
586
- ## 8.0.16
587
-
588
- ### Patch Changes
589
-
590
- - 669c45c: correctly type useLoader results
591
-
592
- ## 8.0.15
593
-
594
- ### Patch Changes
595
-
596
- - c4715d5f: allow invalidate to preempt more than 1 frame
597
-
598
- ## 8.0.14
599
-
600
- ### Patch Changes
601
-
602
- - 5559a119: Add support for recoverable errors
603
-
604
- ## 8.0.13
605
-
606
- ### Patch Changes
607
-
608
- - 9d77d8e2: fix: detach attribute removal
609
-
610
- ## 8.0.12
611
-
612
- ### Patch Changes
613
-
614
- - 3d10413f: fix portal layers
615
-
616
- ## 8.0.11
617
-
618
- ### Patch Changes
619
-
620
- - 5167b1e4: memoized.args can be undefined
621
-
622
- ## 8.0.10
623
-
624
- ### Patch Changes
625
-
626
- - eb321afd: fix: remount bug, allow portals to inject custom size
627
-
628
- ## 8.0.9
629
-
630
- ### Patch Changes
631
-
632
- - 624df949: fix: canvas unmount race condition"
633
-
634
- ## 8.0.8
635
-
636
- ### Patch Changes
637
-
638
- - 952a566: fix: react SSR
639
-
640
- ## 8.0.7
641
-
642
- ### Patch Changes
643
-
644
- - f63806b: fix: react SSR
645
-
646
- ## 8.0.6
647
-
648
- ### Patch Changes
649
-
650
- - d4bafb9: fix re-parenting, useframe not working properly in portals, attach crash
651
-
652
- ## 8.0.5
653
-
654
- ### Patch Changes
655
-
656
- - 227c328: fix pointer for root and portals
657
-
658
- ## 8.0.4
659
-
660
- ### Patch Changes
661
-
662
- - e981a72: fix: mock three color management, loosen peer dep
663
-
664
- ## 8.0.3
665
-
666
- ### Patch Changes
667
-
668
- - 3252aed: setevents needs to spread and be mirrored in portals
669
-
670
- ## 8.0.2
671
-
672
- ### Patch Changes
673
-
674
- - 8035d1f: fix: legacy mode
675
-
676
- ## 8.0.1
677
-
678
- ### Patch Changes
679
-
680
- - 26db195: add legacy flag to turn of three.colormanagement
681
-
682
- ## 8.0.0
683
-
684
- ### Major Changes
685
-
686
- - 385ba9c: v8 major, react-18 compat
687
- - 04c07b8: v8 major, react-18 compat
688
-
689
- ### Patch Changes
690
-
691
- - 347ea79: new beta for library testing
692
-
693
- ## 8.0.0-beta.0
694
-
695
- ### Major Changes
696
-
697
- - 385ba9c: v8 major, react-18 compat
698
-
699
- ## 8.0.0-beta.0
700
-
701
- ### Patch Changes
702
-
703
- - cf6316c: new beta for library testing
704
-
705
- ## 7.0.25
706
-
707
- ### Patch Changes
708
-
709
- - 8698734: Release latest patches
710
-
711
- ## 7.0.24
712
-
713
- ### Patch Changes
714
-
715
- - 7f46ddf: cleanup captured pointers when released (#1914)
716
-
717
- ## 7.0.23
718
-
719
- ### Patch Changes
720
-
721
- - 30d38b1: remove logs
722
-
723
- ## 7.0.22
724
-
725
- ### Patch Changes
726
-
727
- - 259e1fa: add camera:manual
728
-
729
- ## 7.0.21
730
-
731
- ### Patch Changes
732
-
733
- - 65e4147: up usemeasure, add last event to internals"
734
-
735
- ## 7.0.20
736
-
737
- ### Patch Changes
738
-
739
- - 54cb0fd: update react-use-measure, allow it to use the offsetSize
740
-
741
- ## 7.0.19
742
-
743
- ### Patch Changes
744
-
745
- - 7aa2eab: fix: remove zustand subcribe selector
746
-
747
- ## 7.0.18
748
-
749
- ### Patch Changes
750
-
751
- - 6780f58: fix unmount pointer capture
752
-
753
- ## 7.0.17
754
-
755
- ### Patch Changes
756
-
757
- - 894c550: fix: event count
758
-
759
- ## 7.0.16
760
-
761
- ### Patch Changes
762
-
763
- - c7a4220: patch: applyprops returns the same instance
764
-
765
- ## 7.0.15
766
-
767
- ### Patch Changes
768
-
769
- - c5645e8: fix primitve leftovers on switch
770
-
771
- ## 7.0.14
772
-
773
- ### Patch Changes
774
-
775
- - 05af996: fix: revert the is function
776
-
777
- ## 7.0.13
778
-
779
- ### Patch Changes
780
-
781
- - f256558: fix(core): don't overwrite camera rotation
782
- - 51e6fc9: fix(core): safely handle external instances
783
-
784
- ## 7.0.12
785
-
786
- ### Patch Changes
787
-
788
- - 0df6073: fix: missed events
789
-
790
- ## 7.0.11
791
-
792
- ### Patch Changes
793
-
794
- - 62b0a3a: fix: event order of missed pointers
795
-
796
- ## 7.0.10
797
-
798
- ### Patch Changes
799
-
800
- - e019dd4: fixes
801
-
802
- ## 7.0.9
803
-
804
- ### Patch Changes
805
-
806
- - cd266e4: Fix diffProps dashed keys
807
-
808
- ## 7.0.8
809
-
810
- ### Patch Changes
811
-
812
- - 6f68406: Allow getCurrentViewport to receive an array
813
-
814
- ## 7.0.7
815
-
816
- ### Patch Changes
817
-
818
- - 0375896: Simplify useframe, support instanced event cancelation, silence disposal
819
-
820
- ## 7.0.6
821
-
822
- ### Patch Changes
823
-
824
- - fb052ad: Fix babel-env browserslist transpiling into old code"
825
-
826
- ## 7.0.5
827
-
828
- ### Patch Changes
829
-
830
- - c97794a: Add useLoader.clear(Loader, input)
831
-
832
- ## 7.0.4
833
-
834
- ### Patch Changes
835
-
836
- - 974ecfb: Allow elements to define attachFns for specific mount/unmount
837
-
838
- ## 7.0.2
839
-
840
- ### Patch Changes
841
-
842
- - a97aca3: Add controls state field
843
- - 4c703d6: fix rttr didn't work with r130
844
-
845
- ## 7.0.0
846
-
847
- ### Major Changes
848
-
849
- - 96ae1ad: fix javascript interpreting negative renderpriority as positive
850
-
851
- This is a major breaking change that will fix an edge-case. It will only affect you if you used negative useFrame indicies, for instance
852
-
853
- ```jsx
854
- useFrame(..., -1)
855
- ```
856
-
857
- Surprisingly this disabled auto-rendering although the documentation says positive numbers only. As of v7 this will not take over the render loop.
858
-
859
- ```jsx
860
- function Render() {
861
- // Takes over the render-loop, the user has the responsibility to render
862
- useFrame(({ gl, scene, camera }) => {
863
- gl.render(scene, camera)
864
- }, 1)
865
-
866
- function RenderOnTop() {
867
- // This will render on top of the previous call
868
- useFrame(({ gl, ... }) => {
869
- gl.render(...)
870
- }, 2)
871
-
872
- function A() {
873
- // Will *not* take over the render-loop, negative indices can still be useful for sorting
874
- useFrame(() => ..., -1)
875
-
876
- function B() {
877
- // B's useFrame will execute *after* A's
878
- useFrame(() => ..., -2)
879
- ```
880
-
881
- ## 6.2.3
882
-
883
- ### Patch Changes
884
-
885
- - 26bc7eb: typescript changes
886
-
887
- ## 6.2.2
888
-
889
- ### Patch Changes
890
-
891
- - 4f44a2c: use more helpful name with event handling in rttr
892
-
893
- ## 6.2.1
894
-
895
- ### Patch Changes
896
-
897
- - Fix stopPropagation logic
898
-
899
- ## 6.2.0
900
-
901
- ### Minor Changes
902
-
903
- - Allow object3d instances to be attached
904
-
905
- ## 6.1.5
906
-
907
- ### Patch Changes
908
-
909
- - fix(rttr): if children is undefined return an array to map with
910
-
911
- ## 6.1.4
912
-
913
- ### Patch Changes
914
-
915
- - 6faa090: Add shape to types, exclude event functions from event data
916
-
917
- ## 6.1.3
918
-
919
- ### Patch Changes
920
-
921
- - 71e72c0: Fix constructor args with attached children (#1348)
922
- - 015fc03: Only set up pointer/wheel events as passive
923
- - a160e08: Fix event setPointerCapture and stopPropagation.
924
-
925
- ## 6.1.2
1
+ # @react-three/fiber
2
+
3
+ ## 8.15.18
4
+
5
+ ### Patch Changes
6
+
7
+ - 8c01939a: fix: correctly pass frames in invalidate
8
+
9
+ ## 8.15.17
10
+
11
+ ### Patch Changes
12
+
13
+ - 16c2ee97: fix(types): support @types/three@0.162.0
14
+
15
+ ## 8.15.16
16
+
17
+ ### Patch Changes
18
+
19
+ - 71cd8f96: fix: tonemapping config overwrites userland
20
+ - 0bb12fd1: fix(types): remove usage of THREE.Vector
21
+
22
+ ## 8.15.14
23
+
24
+ ### Patch Changes
25
+
26
+ - 0afc9c12: fix: portal events, update examples
27
+
28
+ ## 8.15.13
29
+
30
+ ### Patch Changes
31
+
32
+ - 0a399f6d: fix(native): use MSAA for antialias on iOS
33
+
34
+ ## 8.15.12
35
+
36
+ ### Patch Changes
37
+
38
+ - 496d6f0d: fix: useLoader and XRFrame type fixes
39
+
40
+ ## 8.15.11
41
+
42
+ ### Patch Changes
43
+
44
+ - 3d9af04d: fix: update import from three examples
45
+
46
+ ## 8.15.10
47
+
48
+ ### Patch Changes
49
+
50
+ - 49158164: fix: don't recursively dispose primitives
51
+
52
+ ## 8.15.9
53
+
54
+ ### Patch Changes
55
+
56
+ - 4cbc5530: fix(native): deopt iOS blob URI path
57
+
58
+ ## 8.15.8
59
+
60
+ ### Patch Changes
61
+
62
+ - 70680832: fix: revert stable sort
63
+
64
+ ## 8.15.7
65
+
66
+ ### Patch Changes
67
+
68
+ - 07e39e2e: fix(types): remove use of Object3D generic
69
+
70
+ ## 8.15.6
71
+
72
+ ### Patch Changes
73
+
74
+ - 7bb2950b: experiment: stable object sort
75
+
76
+ ## 8.15.5
77
+
78
+ ### Patch Changes
79
+
80
+ - 0e44fd8b: fix(types): preserve deprecated JSX annotations
81
+
82
+ ## 8.15.4
83
+
84
+ ### Patch Changes
85
+
86
+ - 634e5db5: fix(native): harden Blob URI check for Android
87
+
88
+ ## 8.15.3
89
+
90
+ ### Patch Changes
91
+
92
+ - beab4344: fix(native): workaround Android content policy for Blob URI
93
+
94
+ ## 8.15.2
95
+
96
+ ### Patch Changes
97
+
98
+ - 086d3932: fix: size check and raycaster camera
99
+
100
+ ## 8.15.1
101
+
102
+ ### Patch Changes
103
+
104
+ - 2d39676d: fix: ignore deprecated types, use correct XRFrame definition
105
+
106
+ ## 8.15.0
107
+
108
+ ### Minor Changes
109
+
110
+ - cca8b6bb: feat: export buildGraph
111
+
112
+ ## 8.14.7
113
+
114
+ ### Patch Changes
115
+
116
+ - 0f63a287: fix(native): restore polyfill conversions, drop networking
117
+
118
+ ## 8.14.6
119
+
120
+ ### Patch Changes
121
+
122
+ - 465fa0fb: fix(native): revert usage of networking stack
123
+
124
+ ## 8.14.5
125
+
126
+ ### Patch Changes
127
+
128
+ - f372a5b5: fix(applyProps): loosen copy identity in dev
129
+
130
+ ## 8.14.4
131
+
132
+ ### Patch Changes
133
+
134
+ - dc7e5739: fix(native): amend BlobManager over globals
135
+
136
+ ## 8.14.3
137
+
138
+ ### Patch Changes
139
+
140
+ - d77b0990: fix(native): drop fsstat for react-native-web
141
+
142
+ ## 8.14.2
143
+
144
+ ### Patch Changes
145
+
146
+ - 33e8baef: fix: native perf, loader types
147
+
148
+ ## 8.14.1
149
+
150
+ ### Patch Changes
151
+
152
+ - c99907bf: fix(native): prefer local uri for fs
153
+
154
+ ## 8.14.0
155
+
156
+ ### Minor Changes
157
+
158
+ - 89e96bf4: feat: react-native-web, native globals fixes
159
+
160
+ ## 8.13.9
161
+
162
+ ### Patch Changes
163
+
164
+ - 44d57b3c: fix(native): TextureLoader should remain consistent with FileLoader
165
+
166
+ ## 8.13.8
167
+
168
+ ### Patch Changes
169
+
170
+ - 5da26d52: fix(useLoader): dispose loaders
171
+
172
+ ## 8.13.7
173
+
174
+ ### Patch Changes
175
+
176
+ - 37b9502a: fix(Canvas): pass scene prop
177
+
178
+ ## 8.13.6
179
+
180
+ ### Patch Changes
181
+
182
+ - 0597495c: fix: harden XR init against Renderer shim
183
+
184
+ ## 8.13.5
185
+
186
+ ### Patch Changes
187
+
188
+ - 7a3b543b: fix: three type regressions
189
+
190
+ ## 8.13.4
191
+
192
+ ### Patch Changes
193
+
194
+ - 824ee0f7: fix: safely diff instances
195
+
196
+ ## 8.13.3
197
+
198
+ ### Patch Changes
199
+
200
+ - ffdb5fc4: revert nested portals, up suspend-react
201
+
202
+ ## 8.13.2
203
+
204
+ ### Patch Changes
205
+
206
+ - bbabdf07: update suspend-react
207
+
208
+ ## 8.13.1
209
+
210
+ ### Patch Changes
211
+
212
+ - c9fe03ba: fix: primitive swap and reactive portals
213
+
214
+ ## 8.13.0
215
+
216
+ ### Minor Changes
217
+
218
+ - ecfc48b7: feat: CanvasProps alias, respect r152 color management
219
+
220
+ ## 8.12.2
221
+
222
+ ### Patch Changes
223
+
224
+ - c5193468: fix: safeguard window.devicePixelRatio
225
+
226
+ ## 8.12.1
227
+
228
+ ### Patch Changes
229
+
230
+ - 571f07ac: fix: safeguard window.devicePixelRatio
231
+
232
+ ## 8.12.0
233
+
234
+ ### Minor Changes
235
+
236
+ - 1928d095: feat: `scene` render prop for custom THREE.Scene
237
+
238
+ ## 8.11.11
239
+
240
+ ### Patch Changes
241
+
242
+ - f03c6ef8: feat: `scene` render prop for custom THREE.Scene
243
+
244
+ ## 8.11.10
245
+
246
+ ### Patch Changes
247
+
248
+ - 12907836: fix onpointerlostcapture which fired before pointerup
249
+
250
+ ## 8.11.9
251
+
252
+ ### Patch Changes
253
+
254
+ - 6b5f572c: fix: treeshake THREE.ColorManagement
255
+
256
+ ## 8.11.8
257
+
258
+ ### Patch Changes
259
+
260
+ - 350cd3f3: fix(Canvas): inline render-effect
261
+
262
+ ## 8.11.7
263
+
264
+ ### Patch Changes
265
+
266
+ - 96af62d5: fix: don't overwrite public cameras
267
+
268
+ ## 8.11.6
269
+
270
+ ### Patch Changes
271
+
272
+ - 7d319c18: Fix is.equ obj:shallow, allow it to test arrays 1 level deep, fix canvas.camera prop being stale
273
+
274
+ ## 8.11.5
275
+
276
+ ### Patch Changes
277
+
278
+ - c658f763: fix: update canvas prop types
279
+
280
+ ## 8.11.4
281
+
282
+ ### Patch Changes
283
+
284
+ - 970aa58b: fix: play nice with offscreencanvas
285
+
286
+ ## 8.11.3
287
+
288
+ ### Patch Changes
289
+
290
+ - 2bce569c: fix: progressively set colormanagement
291
+
292
+ ## 8.11.2
293
+
294
+ ### Patch Changes
295
+
296
+ - 41d655cd: fix: hmr, srgb encode
297
+
298
+ ## 8.11.1
299
+
300
+ ### Patch Changes
301
+
302
+ - 58cadeff: fix: skip circular onUpdate calls
303
+
304
+ ## 8.11.0
305
+
306
+ ### Minor Changes
307
+
308
+ - 2917a47b: events.update, allow raycast w/o user interaction
309
+ - 521bfb07: events.update, allow raycast w/o user interaction
310
+
311
+ ## 8.10.4
312
+
313
+ ### Patch Changes
314
+
315
+ - d9e6316d: fix: transpile class properties
316
+
317
+ ## 8.10.3
318
+
319
+ ### Patch Changes
320
+
321
+ - d06d2879: fix: align useLoader type, public fields from builds
322
+
323
+ ## 8.10.2
324
+
325
+ ### Patch Changes
326
+
327
+ - 564edbbb: fix port inject layers, it should allow root props to overwrite indefined portal props"
328
+
329
+ ## 8.10.1
330
+
331
+ ### Patch Changes
332
+
333
+ - bfa0298f: fix memoized identity
334
+
335
+ ## 8.10.0
336
+
337
+ ### Minor Changes
338
+
339
+ - 24c4dba4: shortcut for shadow type
340
+
341
+ ## 8.9.2
342
+
343
+ ### Patch Changes
344
+
345
+ - 2aeb6500: fix: primitives are incorrectly swapped on key change in maps
346
+
347
+ ## 8.9.1
348
+
349
+ ### Patch Changes
350
+
351
+ - 0cf11797: fix(events): type spread event props
352
+
353
+ ## 8.9.0
354
+
355
+ ### Minor Changes
356
+
357
+ - a458b4dd: fix(loop): export flush methods and types
358
+
359
+ ## 8.8.11
360
+
361
+ ### Patch Changes
362
+
363
+ - 2068f0cc: fix: events pointerlock, useLoader extension types
364
+
365
+ ## 8.8.10
366
+
367
+ ### Patch Changes
368
+
369
+ - 00c24718: fix: invalidate pierced props
370
+
371
+ ## 8.8.9
372
+
373
+ ### Patch Changes
374
+
375
+ - 4254400e: fix(createPortal): use correct JSX type
376
+
377
+ ## 8.8.8
378
+
379
+ ### Patch Changes
380
+
381
+ - fcb183e3: fix: call onUpdate for attached children prop update
382
+
383
+ ## 8.8.7
384
+
385
+ ### Patch Changes
386
+
387
+ - bedb16e7: fix: prefer named functions, for loops in hot paths
388
+
389
+ ## 8.8.6
390
+
391
+ ### Patch Changes
392
+
393
+ - 02a558bb: fix: upgrade deps
394
+
395
+ ## 8.8.5
396
+
397
+ ### Patch Changes
398
+
399
+ - 530a06d6: fix: upgrade deps to work-around CRA
400
+
401
+ ## 8.8.4
402
+
403
+ ### Patch Changes
404
+
405
+ - 2f2dc9f9: chore: upgrade bridge to harden suspense behavior
406
+
407
+ ## 8.8.3
408
+
409
+ ### Patch Changes
410
+
411
+ - 9f571239: fix #2506, events should fall back to rootstate"
412
+
413
+ ## 8.8.2
414
+
415
+ ### Patch Changes
416
+
417
+ - dc389ed6: fix(Canvas): prevent remount on context update
418
+
419
+ ## 8.8.1
420
+
421
+ ### Patch Changes
422
+
423
+ - 370d3ae5: refactor: pull context bridge from its-fine
424
+
425
+ ## 8.8.0
426
+
427
+ ### Minor Changes
428
+
429
+ - 46d8b440: bridge cross-container context
430
+
431
+ ## 8.7.4
432
+
433
+ ### Patch Changes
434
+
435
+ - 259c8895: fix: use self to get global context before window
436
+
437
+ ## 8.7.3
438
+
439
+ ### Patch Changes
440
+
441
+ - eb5a3be4: fix: if there is an eventsource pointerevent will be set to none
442
+
443
+ ## 8.7.2
444
+
445
+ ### Patch Changes
446
+
447
+ - 7f801e60: fix: events in portals carry the wrong raycaster, camera, etc
448
+
449
+ ## 8.7.1
450
+
451
+ ### Patch Changes
452
+
453
+ - 962cc270: fix: allow canvas eventsource to be a ref
454
+
455
+ ## 8.7.0
456
+
457
+ ### Minor Changes
458
+
459
+ - f5db1b78: feat: useInstanceHandle, flushGlobalEffects
460
+
461
+ ## 8.6.2
462
+
463
+ ### Patch Changes
464
+
465
+ - 57c12e9c: fix(types): @react-three/drei declaration files
466
+
467
+ ## 8.6.1
468
+
469
+ ### Patch Changes
470
+
471
+ - 7a0b5670: fix(core): don't append to unmounted containers
472
+
473
+ ## 8.6.0
474
+
475
+ ### Minor Changes
476
+
477
+ - 85c80e70: eventsource and eventprefix on the canvas component
478
+
479
+ ## 8.5.1
480
+
481
+ ### Patch Changes
482
+
483
+ - 87821d9: fix: null-check instance.children on reconstruct
484
+
485
+ ## 8.5.0
486
+
487
+ ### Minor Changes
488
+
489
+ - edc8252: feat: handle primitive children, auto-attach via instanceof
490
+
491
+ ## 8.3.1
492
+
493
+ ### Patch Changes
494
+
495
+ - aaeb2b8: fix(types): accept readonly arrays for vector props
496
+
497
+ ## 8.3.0
498
+
499
+ ### Minor Changes
500
+
501
+ - 9c450ec: feat: improve errors
502
+
503
+ ## 8.2.3
504
+
505
+ ### Patch Changes
506
+
507
+ - b8d2eab: fix: improve useLoader signature, initial size on createRoot
508
+
509
+ ## 8.2.2
510
+
511
+ ### Patch Changes
512
+
513
+ - acd6f04: fix: warn on stray text
514
+
515
+ ## 8.2.1
516
+
517
+ ### Patch Changes
518
+
519
+ - 25e35a1: fix: prefer useLayoutEffect in react-native
520
+
521
+ ## 8.2.0
522
+
523
+ ### Minor Changes
524
+
525
+ - 9770d7d: feat: expose ThreeElements interface for JSX elements
526
+
527
+ ## 8.1.0
528
+
529
+ ### Minor Changes
530
+
531
+ - 8d0f708c: Expose position information in state.size
532
+
533
+ ## 8.0.27
534
+
535
+ ### Patch Changes
536
+
537
+ - 7940995: fix: resume on xrsession end, export internal events
538
+
539
+ ## 8.0.26
540
+
541
+ ### Patch Changes
542
+
543
+ - 7b6df9df: fix: infinite loop updating cam viewport
544
+
545
+ ## 8.0.25
546
+
547
+ ### Patch Changes
548
+
549
+ - b7cd0f42: update viewport on camera changes
550
+
551
+ ## 8.0.24
552
+
553
+ ### Patch Changes
554
+
555
+ - ee8e785: fix: attach timings
556
+
557
+ ## 8.0.23
558
+
559
+ ### Patch Changes
560
+
561
+ - 29d03c64: revert multi attach
562
+
563
+ ## 8.0.22
564
+
565
+ ### Patch Changes
566
+
567
+ - 419e854: fix: always prepare primitives
568
+
569
+ ## 8.0.21
570
+
571
+ ### Patch Changes
572
+
573
+ - 3098b9b: fix: resizing in worker contexts, copy over attachments on reconstruct
574
+
575
+ ## 8.0.20
576
+
577
+ ### Patch Changes
578
+
579
+ - 4c87bce: fix: attach, devtools, and perf fixes
580
+
581
+ ## 8.0.19
582
+
583
+ ### Patch Changes
584
+
585
+ - 360b45a: fix: handle attach on reconstruct
586
+
587
+ ## 8.0.18
588
+
589
+ ### Patch Changes
590
+
591
+ - be567c1: fix: suspense attach and three compat in webpack
592
+
593
+ ## 8.0.17
594
+
595
+ ### Patch Changes
596
+
597
+ - 9e3369e: fix dom resize, improve native tree shaking
598
+
599
+ ## 8.0.16
600
+
601
+ ### Patch Changes
602
+
603
+ - 669c45c: correctly type useLoader results
604
+
605
+ ## 8.0.15
606
+
607
+ ### Patch Changes
608
+
609
+ - c4715d5f: allow invalidate to preempt more than 1 frame
610
+
611
+ ## 8.0.14
612
+
613
+ ### Patch Changes
614
+
615
+ - 5559a119: Add support for recoverable errors
616
+
617
+ ## 8.0.13
618
+
619
+ ### Patch Changes
620
+
621
+ - 9d77d8e2: fix: detach attribute removal
622
+
623
+ ## 8.0.12
624
+
625
+ ### Patch Changes
626
+
627
+ - 3d10413f: fix portal layers
628
+
629
+ ## 8.0.11
630
+
631
+ ### Patch Changes
632
+
633
+ - 5167b1e4: memoized.args can be undefined
634
+
635
+ ## 8.0.10
636
+
637
+ ### Patch Changes
638
+
639
+ - eb321afd: fix: remount bug, allow portals to inject custom size
640
+
641
+ ## 8.0.9
642
+
643
+ ### Patch Changes
644
+
645
+ - 624df949: fix: canvas unmount race condition"
646
+
647
+ ## 8.0.8
648
+
649
+ ### Patch Changes
650
+
651
+ - 952a566: fix: react SSR
652
+
653
+ ## 8.0.7
654
+
655
+ ### Patch Changes
656
+
657
+ - f63806b: fix: react SSR
658
+
659
+ ## 8.0.6
660
+
661
+ ### Patch Changes
662
+
663
+ - d4bafb9: fix re-parenting, useframe not working properly in portals, attach crash
664
+
665
+ ## 8.0.5
666
+
667
+ ### Patch Changes
668
+
669
+ - 227c328: fix pointer for root and portals
670
+
671
+ ## 8.0.4
672
+
673
+ ### Patch Changes
674
+
675
+ - e981a72: fix: mock three color management, loosen peer dep
676
+
677
+ ## 8.0.3
678
+
679
+ ### Patch Changes
680
+
681
+ - 3252aed: setevents needs to spread and be mirrored in portals
682
+
683
+ ## 8.0.2
684
+
685
+ ### Patch Changes
686
+
687
+ - 8035d1f: fix: legacy mode
688
+
689
+ ## 8.0.1
690
+
691
+ ### Patch Changes
692
+
693
+ - 26db195: add legacy flag to turn of three.colormanagement
694
+
695
+ ## 8.0.0
696
+
697
+ ### Major Changes
698
+
699
+ - 385ba9c: v8 major, react-18 compat
700
+ - 04c07b8: v8 major, react-18 compat
701
+
702
+ ### Patch Changes
703
+
704
+ - 347ea79: new beta for library testing
705
+
706
+ ## 8.0.0-beta.0
707
+
708
+ ### Major Changes
709
+
710
+ - 385ba9c: v8 major, react-18 compat
711
+
712
+ ## 8.0.0-beta.0
713
+
714
+ ### Patch Changes
715
+
716
+ - cf6316c: new beta for library testing
717
+
718
+ ## 7.0.25
719
+
720
+ ### Patch Changes
721
+
722
+ - 8698734: Release latest patches
723
+
724
+ ## 7.0.24
725
+
726
+ ### Patch Changes
727
+
728
+ - 7f46ddf: cleanup captured pointers when released (#1914)
729
+
730
+ ## 7.0.23
731
+
732
+ ### Patch Changes
733
+
734
+ - 30d38b1: remove logs
735
+
736
+ ## 7.0.22
737
+
738
+ ### Patch Changes
739
+
740
+ - 259e1fa: add camera:manual
741
+
742
+ ## 7.0.21
743
+
744
+ ### Patch Changes
745
+
746
+ - 65e4147: up usemeasure, add last event to internals"
747
+
748
+ ## 7.0.20
749
+
750
+ ### Patch Changes
751
+
752
+ - 54cb0fd: update react-use-measure, allow it to use the offsetSize
753
+
754
+ ## 7.0.19
755
+
756
+ ### Patch Changes
757
+
758
+ - 7aa2eab: fix: remove zustand subcribe selector
759
+
760
+ ## 7.0.18
761
+
762
+ ### Patch Changes
763
+
764
+ - 6780f58: fix unmount pointer capture
765
+
766
+ ## 7.0.17
767
+
768
+ ### Patch Changes
769
+
770
+ - 894c550: fix: event count
771
+
772
+ ## 7.0.16
773
+
774
+ ### Patch Changes
775
+
776
+ - c7a4220: patch: applyprops returns the same instance
777
+
778
+ ## 7.0.15
779
+
780
+ ### Patch Changes
781
+
782
+ - c5645e8: fix primitve leftovers on switch
783
+
784
+ ## 7.0.14
785
+
786
+ ### Patch Changes
787
+
788
+ - 05af996: fix: revert the is function
789
+
790
+ ## 7.0.13
791
+
792
+ ### Patch Changes
793
+
794
+ - f256558: fix(core): don't overwrite camera rotation
795
+ - 51e6fc9: fix(core): safely handle external instances
796
+
797
+ ## 7.0.12
798
+
799
+ ### Patch Changes
800
+
801
+ - 0df6073: fix: missed events
802
+
803
+ ## 7.0.11
804
+
805
+ ### Patch Changes
806
+
807
+ - 62b0a3a: fix: event order of missed pointers
808
+
809
+ ## 7.0.10
810
+
811
+ ### Patch Changes
812
+
813
+ - e019dd4: fixes
814
+
815
+ ## 7.0.9
816
+
817
+ ### Patch Changes
818
+
819
+ - cd266e4: Fix diffProps dashed keys
820
+
821
+ ## 7.0.8
822
+
823
+ ### Patch Changes
824
+
825
+ - 6f68406: Allow getCurrentViewport to receive an array
826
+
827
+ ## 7.0.7
828
+
829
+ ### Patch Changes
830
+
831
+ - 0375896: Simplify useframe, support instanced event cancelation, silence disposal
832
+
833
+ ## 7.0.6
834
+
835
+ ### Patch Changes
836
+
837
+ - fb052ad: Fix babel-env browserslist transpiling into old code"
838
+
839
+ ## 7.0.5
840
+
841
+ ### Patch Changes
842
+
843
+ - c97794a: Add useLoader.clear(Loader, input)
844
+
845
+ ## 7.0.4
846
+
847
+ ### Patch Changes
848
+
849
+ - 974ecfb: Allow elements to define attachFns for specific mount/unmount
850
+
851
+ ## 7.0.2
852
+
853
+ ### Patch Changes
854
+
855
+ - a97aca3: Add controls state field
856
+ - 4c703d6: fix rttr didn't work with r130
857
+
858
+ ## 7.0.0
859
+
860
+ ### Major Changes
861
+
862
+ - 96ae1ad: fix javascript interpreting negative renderpriority as positive
863
+
864
+ This is a major breaking change that will fix an edge-case. It will only affect you if you used negative useFrame indicies, for instance
865
+
866
+ ```jsx
867
+ useFrame(..., -1)
868
+ ```
869
+
870
+ Surprisingly this disabled auto-rendering although the documentation says positive numbers only. As of v7 this will not take over the render loop.
871
+
872
+ ```jsx
873
+ function Render() {
874
+ // Takes over the render-loop, the user has the responsibility to render
875
+ useFrame(({ gl, scene, camera }) => {
876
+ gl.render(scene, camera)
877
+ }, 1)
878
+
879
+ function RenderOnTop() {
880
+ // This will render on top of the previous call
881
+ useFrame(({ gl, ... }) => {
882
+ gl.render(...)
883
+ }, 2)
884
+
885
+ function A() {
886
+ // Will *not* take over the render-loop, negative indices can still be useful for sorting
887
+ useFrame(() => ..., -1)
888
+
889
+ function B() {
890
+ // B's useFrame will execute *after* A's
891
+ useFrame(() => ..., -2)
892
+ ```
893
+
894
+ ## 6.2.3
895
+
896
+ ### Patch Changes
897
+
898
+ - 26bc7eb: typescript changes
899
+
900
+ ## 6.2.2
901
+
902
+ ### Patch Changes
903
+
904
+ - 4f44a2c: use more helpful name with event handling in rttr
905
+
906
+ ## 6.2.1
907
+
908
+ ### Patch Changes
909
+
910
+ - Fix stopPropagation logic
911
+
912
+ ## 6.2.0
913
+
914
+ ### Minor Changes
915
+
916
+ - Allow object3d instances to be attached
917
+
918
+ ## 6.1.5
919
+
920
+ ### Patch Changes
921
+
922
+ - fix(rttr): if children is undefined return an array to map with
923
+
924
+ ## 6.1.4
925
+
926
+ ### Patch Changes
927
+
928
+ - 6faa090: Add shape to types, exclude event functions from event data
929
+
930
+ ## 6.1.3
931
+
932
+ ### Patch Changes
933
+
934
+ - 71e72c0: Fix constructor args with attached children (#1348)
935
+ - 015fc03: Only set up pointer/wheel events as passive
936
+ - a160e08: Fix event setPointerCapture and stopPropagation.
937
+
938
+ ## 6.1.2