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 ?
hi. I am tRPC user. I am very much interested in this project. so I have a question. I read some article from korea's anonymous community that tsc compiler throws error when the number of tRPC API Endpoint is over 80 because of zod's inefficient validator logic. I don't know what exactly it is. but like this post https://www.reddit.com/r/typescript/comments/13sldut/how_do_people_use_zod_on_a_large_project/ , It seems like there are some issues about zod when project is too large. So my question is that : is it totally fine if convex's api endpoint is over 80 or much higher? did someone already tried to make very large number of api endpoint ? The reason I'm asking this question is because I felt that the type checker of convex is quite similar to zod. I am sorry if my English was awkward. English is not my first language. thank you.
4 replies
SSolidJS
Created by LKB on 5/7/2023 in #support
ErrorBoundry component not works
hi now i am doing official-tutorial : https://www.solidjs.com/tutorial/flow_error_boundary I copy-and-paste this code in my vite project. the full-code is below this
import { Component, ErrorBoundary, createEffect, createSignal, useContext, useTransition } from 'solid-js';
import {render} from 'solid-js/web'

const Broken = (props) => {
throw new Error("Oh No");
return <>Never Getting Here</>
}

export const ErrorBoundryTest = () => {

return (
<div class="">
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</div>
);
};
import { Component, ErrorBoundary, createEffect, createSignal, useContext, useTransition } from 'solid-js';
import {render} from 'solid-js/web'

const Broken = (props) => {
throw new Error("Oh No");
return <>Never Getting Here</>
}

export const ErrorBoundryTest = () => {

return (
<div class="">
<div class="">before error</div>
<ErrorBoundary fallback={err => err}>
<Broken />
</ErrorBoundary>
<div class="">after error</div>
</div>
);
};
and it doesn't show anything about error. but It works on solid-playground I never found what is difference between my project and solid-playground. and feedbacks are helpful to me thank you
5 replies