ShadCN’s Revolutionary New CLI
12:11
Surviving the AI-Driven Job Market
13:05
NextJS Feature Flagging Made Easy
14:27
Vites Fatal Flaw Fixed With Vinxi
11:23
Stop Using useEffect With Redux!
8:02
Пікірлер
@DominiqueBello
@DominiqueBello 20 минут бұрын
You give replies to my questions just before I formulate them! R-N-SCs are fantastic! Thanks a lot for your crystal clear explanations as usual!
@ExpoDevelopers
@ExpoDevelopers 26 минут бұрын
Very nice demo Jack. Thanks for sharing!
@lukemontana9792
@lukemontana9792 30 минут бұрын
great
@Korosu-ty5ir
@Korosu-ty5ir Сағат бұрын
awesome
@abannsunny3515
@abannsunny3515 Сағат бұрын
How does the publish look like for something like this? Will it be a 2 step publish? How will you coordinate the app store publish and the api publish?
@jherr
@jherr 47 минут бұрын
Gooood question.
@ThomazMartinez
@ThomazMartinez Сағат бұрын
whos server it sends it from?
@IamYouWeAreEveryone
@IamYouWeAreEveryone Сағат бұрын
mine
@maddog2622
@maddog2622 57 минут бұрын
No it’s mine
@raddadslab5097
@raddadslab5097 3 сағат бұрын
Another Portland DEV! Thats so cool! Small world. That conference sounds cool.
@selloramolelle
@selloramolelle 3 сағат бұрын
On the pipeline, nextjs for react native 😅
@mikkelwf1984
@mikkelwf1984 2 сағат бұрын
expo is already there
@selloramolelle
@selloramolelle 2 сағат бұрын
@mikkelwf1984 obviously but that's not the point lol
@yvesrobertcharlesthior
@yvesrobertcharlesthior 3 сағат бұрын
first here lol !😀😀
@yvesrobertcharlesthior
@yvesrobertcharlesthior 46 минут бұрын
following you sir from Dakar in Senegal. and i really apreciate your content. willing to learn more from you.
@funkjoker
@funkjoker 8 сағат бұрын
Is this kinda PPR from aside?
@kenedyolisi3551
@kenedyolisi3551 11 сағат бұрын
For `bg-background` and `bg-foreground`, you can add `--color-background: your-color` and `--color-foreground: your-color` in the @theme { ...}
@hassanallen1823
@hassanallen1823 12 сағат бұрын
After redux zustand is the only library I use for my state management I love it
@mortezatourani7772
@mortezatourani7772 17 сағат бұрын
Like always enjoy the content.
@GabrielMartinez-ez9ue
@GabrielMartinez-ez9ue Күн бұрын
is there a reason react-hook-form or even shadcn which uses it does not recommend this approach?
@Ss-zg3yj
@Ss-zg3yj 2 күн бұрын
Wait, Next doesn't support streaming in server functions???
@ElevateCode
@ElevateCode 2 күн бұрын
Excellent video. Clear explanation, great examples, audio and video are very clear. Thank you so much for putting this together!
@VincentDECAUX
@VincentDECAUX 2 күн бұрын
Tanstack start is a copy of Remix. But it's nice, I like this approach really. Just hope people will remind that this server approach should be useful, not to just please frontend developers. Full backend API and full front is still the best stack.
@tannerlinsley
@tannerlinsley 2 күн бұрын
Sure, some similarities, but every framework will inevitably have similarities on good ideas. I happily used Remix for 2 years because I liked *some* of it a lot. But so much is entirely different both in API design and definitely implementation. TanStack Router and Start were architected and written from the ground up to allow for things that the Remix/RR team were unwilling to collaborate on, including much needed features and design upgrades from the community, some of those coming from me (type-safety, state-management, caching, etc).
@JoeBoo532
@JoeBoo532 2 күн бұрын
Hi, are you planing on doing black Friday deal on your next js pro course ? :)
@farooqbroberg9349
@farooqbroberg9349 3 күн бұрын
Does this work with MUI instead of shadcn?
@bbqchickenrobot3
@bbqchickenrobot3 3 күн бұрын
How does this work with search indexing by search engines?
@Its-InderjeetSinghGill
@Its-InderjeetSinghGill 3 күн бұрын
Seeing him exited makes me suuuuuper exited, Let's go!
@bythewaybg
@bythewaybg 3 күн бұрын
I can disagree GraphQL is more type-safe than tRPC if we are talking about typescript on both client and the server. tRPC uses the same types you define on the backend, so it should always be type-safe. GraphQL however needs code generation always, so things could go wrong and on top of that, it does not have the concept of null vs undefined, which can also prove to be very problematic in some occasions.
@marvinfok65
@marvinfok65 4 күн бұрын
This is the 6 vid I have seen and NOT one person show how to do an update. I am absolutely going nuts for error after error with the update on convex. The documentation is confusing and I just can't get it work!
4 күн бұрын
I watched this to understand typescript mixins, to understand why the proposal for traits was declined based on the existence of mixins. I don't see it. This in no way addresses the diamond problem and is in no way incompatible with the concept of traits. Did the developers of typescript just not bother to understand traits? I find myself incredibly confused by this.
@CanisLatransMedia
@CanisLatransMedia 5 күн бұрын
Is it me or Jacks lips are always not synced properly 😅 Content good as always tho!
@charlyr6774
@charlyr6774 5 күн бұрын
Warning this lib is not compatible with NextJS@15 because it unsupported React@19 for the moment.
@martapfahl940
@martapfahl940 5 күн бұрын
Is it a common thing for React? Only used it with Angular so far.
@roid1510
@roid1510 5 күн бұрын
Very cool video! Quick question: this looks like it exposes the code over network. Are there any risks we should watch out for? Any weird injection issues or files that shouldnt be exposed?
@tririfandani1876
@tririfandani1876 5 күн бұрын
we need 1 more explanation, the react built in `cache` experimental function
@TheStallion1319
@TheStallion1319 5 күн бұрын
tbh i think we might have overcomplicated forms
@DaviLimadeMedeiros
@DaviLimadeMedeiros 5 күн бұрын
It'd be nice if the ProNextJS course mentioned had a deep diver section on Middleware, e.g. setting cookie on request (not response) is not trivial and not documented
@columkelly99
@columkelly99 5 күн бұрын
My understanding is that this hook is to help you avoid having to use state in a parent component so that it can be server rendered. In your examples you can call setTodos({ ...todos, newTodo }) in place of the optimistic setter and have the same functionality, you can add setTodos(todos) in the catch block to handle the reversion if something throws.
@mavenwander2374
@mavenwander2374 5 күн бұрын
Nothing beats Pages Router caching. So clear and simple.
@mainakdas5819
@mainakdas5819 5 күн бұрын
Random thought, suppose I have a endpoint that query CMS to get 10 items and query backend to get the price of available 8 items. Now I’ve to merge and filter both the API to get the data ans price of those 8 items only. How do you cache that scenario?
@Shoharnaaze
@Shoharnaaze 6 күн бұрын
Again a new lib/framework?? Pfff 🤢
@astralking6162
@astralking6162 6 күн бұрын
As i know, pages router had a thing like on-demand ISR, was a cool feature, i was implementing it to my project)
@jherr
@jherr 4 күн бұрын
Again though, the ISR granularity is a whole page.
@astralking6162
@astralking6162 3 сағат бұрын
@@jherr Yes, but with on-demand ISR there was no problem. that the product was updated from the admin panel, but it has not yet been updated on the site, since revalidate is set to 60, so for another 60 seconds the product will have outdated information, but with on-demand ISR you could set revalidate to 24 hours and not worry that the product will not be updated, because as soon as the product was updated, a request was made to the product page and it was immediately updated)
@jherr
@jherr 3 сағат бұрын
@@astralking6162 But with ISR you can't control what data on the page is cached at what level. You could send along cache control headers from the API. But if you're doing ISR with server functions those don't have persistent fetch cache. So you'll always be updating all the data at the fastest SLA.
@EpilefRodriguez
@EpilefRodriguez 6 күн бұрын
Thank you for taking the time to share your expertise-it's greatly appreciated!
@hamdaniash-siddiq5021
@hamdaniash-siddiq5021 6 күн бұрын
well, anything that includes so called 'cache" is something to be aware of. Its a trade between speed and server workload.. Cahing !== optimization.
@couragic
@couragic 6 күн бұрын
4:35 Prices are getting higher even in study projects 😢😊
@Viral_vittles
@Viral_vittles 6 күн бұрын
thanks
@feldinho
@feldinho 6 күн бұрын
What's the easiest way to tell fetch to always honor the cache control headers from the API? Would that be ergonomic when using API routes? As a backend guy, it feels more intuitive to let the data owner (the API) tell for how long it should be cached.
@katanaut
@katanaut 6 күн бұрын
Thanks Jack. We love you.
@rijkvanwel
@rijkvanwel 6 күн бұрын
Honestly, of late it feels there is no one at the wheel at Vercel in terms of API design. What a mess. Great explanation though
@ashleytwo
@ashleytwo 6 күн бұрын
Thanks for this clear and detailed explanation
@amershboul9107
@amershboul9107 6 күн бұрын
you are the best !
@MrZiyak99
@MrZiyak99 7 күн бұрын
you technically could wrap the cached components in suspense as well correct? it’s just not mandated cause the loading speed would be really fast?
@jherr
@jherr 4 күн бұрын
Yeah, absolutely.
@belgarat0
@belgarat0 7 күн бұрын
In my app i have tons of data fetching use cases(around 100), do i need to actually place 'use cache' and the timer on every single one?
@codefinity
@codefinity 6 күн бұрын
🤔 you can keep all in a single ‘lib’ ‘fetchers’ file and pop the directive at the 🔝❔ But, that would apply same caching behavior for all!
@feldinho
@feldinho 6 күн бұрын
Out of curiosity, how do you do it currently?
@kamilkacperek91
@kamilkacperek91 7 күн бұрын
Honestly, the standard, non experimental version feels more intuitive for me.
@azure346
@azure346 7 күн бұрын
What a great video ⚡
@dzigizord6567
@dzigizord6567 7 күн бұрын
whoever pushed for "use cache" api should be fired. why in the world would you use magic strings for anything. magic strings that influence how infra behaves no less. using normal functions were not cool enough?
@adityaanuragi6916
@adityaanuragi6916 7 күн бұрын
I've never used next before, but a directive seems like an absurd way of going about it Why not just a function?
@codefinity
@codefinity 6 күн бұрын
Directives have 🫘 there and even JS ‘use strict’ from back in the day. Not that 🧐. If you don’t 👍🏾, don’t use it.
@codefinity
@codefinity 6 күн бұрын
@@adityaanuragi6916Maybe use the tech for s bit first before 💩-posting and/or hating on it.
@feldinho
@feldinho 6 күн бұрын
@@codefinity It was a bad idea back then, too.
@TianYuanEX
@TianYuanEX 6 күн бұрын
Just use tanstack; infinitely better DX with far less gotchas and black box stuff in it...