I am creating a <BaseLayout> component to handle some common cases across all frames. Passing the remainder of the frame through to the children props.
Gives an error
TypeError: Cannot add property __context, object is not extensible
Can't tell if this was a feature or a bug, but it seems to have worked for me in frog@0.9.2.
Describe the bug
I am creating a
<BaseLayout>
component to handle some common cases across all frames. Passing the remainder of the frame through to thechildren
props.Gives an error
Can't tell if this was a feature or a bug, but it seems to have worked for me in
frog@0.9.2
.Link to Minimal Reproducible Example
https://github.com/scottrepreneur/frog-children
Steps To Reproduce
pnpm dev
Frog Version
0.11.2
TypeScript Version
5.4.5
Check existing issues
Anything else?
Interestingly, it works in the same route as seen here. https://github.com/scottrepreneur/frog-children/tree/same-place