Slamerz
Slamerz
TTCTheo's Typesafe Cult
Created by Slamerz on 7/25/2023 in #questions
Prod and Dev rendering differently
8 replies
TTCTheo's Typesafe Cult
Created by Slamerz on 7/21/2023 in #questions
pagination from multiple sources?
So I've been trying to figure out a way to combine two paginated sources into 1 paginated feed. Essentially the current functionality pulls in a list of things from an outside api. We also have our own list of things that we'd like to start including in the same feed that we display the outside data. Both lists have the same fields, and come from paginated api endpoints, but I'm struggling to figure out a way to combine the lists on the front end that grabs data from both sources as needed based on a date field on the things. Any ideas?
22 replies
TTCTheo's Typesafe Cult
Created by Slamerz on 5/26/2023 in #questions
"createContext only works in Client Components." When I'm not using context.
16 replies
TTCTheo's Typesafe Cult
Created by Slamerz on 5/24/2023 in #questions
Suggested First Load JS size
Wondering how big is too big for a first load. Currently my first load is about 250 kb, which is enough for the next.js build to start showing it as red, so I'm assuming that is larger than what is suggested, but I couldn't really find much on what a suggested size for first load js is. It's been a task to try to get the first load down without completely removing Material UI, but before I go through all that figured I'd ask and see what people's average First Load JS is, as well as the "Ideal" size.
5 replies