LKB
LKB
Explore posts from servers
CCConvex Community
Created by LKB on 9/7/2023 in #support-community
is it totally fine if the number of api is over 80 ?
thank you for answer. I searched after reading your answer, and found this https://github.com/trpc/trpc/discussions/2448 . in conclusion, this problem has been solved in v10, and also convex maintainers also seem recognizing this issue. so I think that I don't need concern about this anymore. thank you 🙂
4 replies
SSolidJS
Created by LKB on 5/7/2023 in #support
ErrorBoundry component not works
I understand what you are said
export const ErrorBoundryTest = () => {

return (
<>
<div class="">
<div class="">before error</div>
<ErrorBoundary fallback={err => <h1>{err.message}</h1>}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</div>
</>
);
};
export const ErrorBoundryTest = () => {

return (
<>
<div class="">
<div class="">before error</div>
<ErrorBoundary fallback={err => <h1>{err.message}</h1>}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</div>
</>
);
};
this works because fallback returns html element. but
export const ErrorBoundryTest = () => {

return (
<>
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</>
);
};
export const ErrorBoundryTest = () => {

return (
<>
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</>
);
};
this also works although fallback returns javascript object that is not htmlelement I don't understand why fallback={err => err} syntax works and sometimes not works
5 replies
SSolidJS
Created by LKB on 5/7/2023 in #support
ErrorBoundry component not works
I found strange thing
export const ErrorBoundryTest = () => {

return (
<>
<div class="">
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</div>
</>
);
};
export const ErrorBoundryTest = () => {

return (
<>
<div class="">
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</div>
</>
);
};
this not works, but
export const ErrorBoundryTest = () => {

return (
<>
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</>
);
};
export const ErrorBoundryTest = () => {

return (
<>
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</>
);
};
this works. why?
5 replies