Skip to content

Commit

Permalink
Refactor dynamic root algorithm to apply on exit rather than immediately
Browse files Browse the repository at this point in the history
adeira-source-id: 274e8bad07b4d3b2726246528256189dd58973d5
  • Loading branch information
itsdouges authored and triplex-bot committed Dec 23, 2024
1 parent 79afad6 commit 39ee1ba
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions examples/test-fixture/src/selection-edge-case.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Copyright (c) Michael Dougall. All rights reserved.
*
* This source code is licensed under the GPL-3.0 license found in the LICENSE
* file in the root directory of this source tree.
*/
import { type ReactNode } from "react";

function ContextProvider({ children }: { children: ReactNode }) {
return children;
}

export function UnknownCustomComponentResolvedHostElements() {
return (
<>
<ContextProvider>
<mesh>
<boxGeometry />
</mesh>
</ContextProvider>
</>
);
}

0 comments on commit 39ee1ba

Please sign in to comment.