Kantros
Kantros
WWasp-lang
Created by Kantros on 5/5/2024 in #🙋questions
Lazy Loading React Components
What specifics would you be interested in? The company I work at it’s writing out a spec that basically does what wasp does. I’ve been experimenting with wasp to see if it would be sufficient. The issue is the client facing application is huge (it’s being rewritten from php). Requiring a massive bundle wouldn’t compete with other options in the market.
15 replies
WWasp-lang
Created by Kantros on 5/5/2024 in #🙋questions
Lazy Loading React Components
Darn. I’ll have to use another framework. Will have to revisit in the future, the DSL is super interesting! Unfortunately I don’t have time to learn Haskel so I can’t help on the issue.
15 replies
WWasp-lang
Created by Kantros on 4/28/2024 in #🙋questions
Passing Context for Dependency Injection
sure, basically I have a function:
async function filterOutResults(items: any[], filterType: string): Promise<any[]>
async function filterOutResults(items: any[], filterType: string): Promise<any[]>
which checks the database to make sure I'm not inserting duplicate data into the database which holds a subset of data from an external large dataset. Currently I am creating a nested function so that the context is in scope, which is not clean or reusable. importing the full Prisma client is acceptable, and I saw it in the docs, but I wanted to make sure there wasn't a "wasp way" of approaching the problem. Thanks for responding!
8 replies