Commit 5f5d2e7
authored
Define callback refs inline to work with latest versions of Next.js / React (#942)
Callback refs defined as class functions don't get invoked in
Next.js 14.2+ – and therefore don't work – perhaps because of changes
to the underlying React which is at or near version 19.1 parent 5467c08 commit 5f5d2e7
1 file changed
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | 571 | | |
583 | 572 | | |
584 | 573 | | |
| |||
634 | 623 | | |
635 | 624 | | |
636 | 625 | | |
637 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
638 | 630 | | |
639 | 631 | | |
640 | 632 | | |
| |||
656 | 648 | | |
657 | 649 | | |
658 | 650 | | |
659 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
660 | 656 | | |
661 | 657 | | |
662 | 658 | | |
| |||
0 commit comments