Тёмный
Steve (Builder.io)
Steve (Builder.io)
Steve (Builder.io)
Подписаться
CEO @ Builder.io - the drag & drop headless CMS

www.builder.io

(Steve Sewell)
Good refactoring vs bad refactoring
6:19
21 день назад
Is AI coming for developers jobs?
3:08
Месяц назад
A Better Way to fetch() in JS
1:54
4 месяца назад
How To Build AI Products That Don't Flop
8:03
4 месяца назад
Create a custom GPT from a URL in 2 minutes
2:22
9 месяцев назад
Generate Figma Designs with AI
1:55
Год назад
AI + VS Code = 🤯
2:26
Год назад
Use Maps more and Objects less
5:45
Год назад
This JS can be a LOT faster
1:59
Год назад
A cure for React useState hell?
2:23
Год назад
Комментарии
@joed4no
@joed4no 17 часов назад
Your story isn't the same thing at all since VS Code was paid for by Microsoft and was MIT licensed. Those devs got paid for their work and Cursor hasn't stolen anything. By that logic Mac OS is stolen because its a unix fork.
@1b0o0
@1b0o0 19 часов назад
You are getting muted. Jesus Christ, make the bait less evident.
@incarnateTheGreat
@incarnateTheGreat 19 часов назад
I want to build out a solution for requests. Something like Wretch is a nice solution, but I'm wondering if a dependency is the way to go for something like this. Feels like it should be something that can be easily updated/changed.
@theyashwanthsai29
@theyashwanthsai29 День назад
I was writing a research paper on one of my projects which does similar thing. U have an architect which breaks the problem statement into sub modules. Testwr weites tests for these modules and then the coder codes. This should remove the messups which can be caused usually with coder agents
@macchiato_1881
@macchiato_1881 День назад
I think the 3:53 example was a bit contrived. I don't think even junior devs would remove caching logic for no reason. Unless, they REALLY were a "special" type of person.
@younes-47
@younes-47 День назад
That's why redux
@goshmain982
@goshmain982 День назад
Bro give us solution, what should a developer do in this situation?
@tomilola_ng
@tomilola_ng День назад
The Founders have to pay 50% to support the GitHub Open Source project. Like a must!
@traviswilliams9225
@traviswilliams9225 День назад
Lol, this is crazy 😂
@il_panda1979
@il_panda1979 День назад
Bad code is bad code but JavaScript is just JavaScript
@jak3legacy
@jak3legacy День назад
Part of the issue is that knowing how to write "good JavaScript" does not necessarily translate to the abstraction that is writing "Good React". React has a lot of foot guns that aren't obvious, and it's definitely it's own entire skill on top of writing good JavaScript.
@user-ex4lx6ln1e
@user-ex4lx6ln1e 2 дня назад
Neo Vim
@rifatnoor9956
@rifatnoor9956 2 дня назад
Why not use Axios then? Just asking.
@WesleyDuSellone
@WesleyDuSellone 2 дня назад
It’s a hard pill to swallow. But nobody cares how subjectively clean your code is.
@dlnbm
@dlnbm 2 дня назад
PR reviewer was like: LGTM
@ManoploBeat
@ManoploBeat 2 дня назад
Not particulary worried about the devs behind VScode incomes tbh.
@theechocolatpapii4052
@theechocolatpapii4052 2 дня назад
I get these properties but I'm not sure if I understand them. My question is does this mean that you have to have multiple images of different sizes in assets folder or it will apply these effects on a single image with regard to what's most optimal at the time?
@soyarenamovediza6498
@soyarenamovediza6498 2 дня назад
Then what’s the point of giving an MIT license in your code? I mean, you could use another type of Licenses. There are tons of them.
@iknowcodesoup
@iknowcodesoup 2 дня назад
What is the point? If you're using external packages for UI it breaks down or not? This is not an enterprise solution for anything I've ever seen beyond a splash or marketing site. Very unique where I would care how it gets setup and rendered. Implement rxjs or something useful.
@mikkoespinosa4825
@mikkoespinosa4825 2 дня назад
JPEG XL stands out in terms of quality preservation. I have tried to upload photo on fb using Firefox or waterfox and the result was good.
@MizManFryingP
@MizManFryingP 2 дня назад
Separate into different hooks and use reducers
@sebastiane7556
@sebastiane7556 2 дня назад
And that's why you should add comments in your code explaining why your doing what you're doing
@DarthVader11912
@DarthVader11912 3 дня назад
Try catch with async await.
@ikqqslate_
@ikqqslate_ 3 дня назад
javascript programmer dont use a trillion libraries for every small thing challenge
@justafreak15able
@justafreak15able 3 дня назад
Ahh Bro read some comments on Reddit or Hackernews thread about Cursor. I think they are charging for the AI capabilities rather than the vscode fork. They did mention that due to the limitation of the vscode extensions API, they had to design this way.
@avatar_ng
@avatar_ng 3 дня назад
I see it more as a vscode extension and for some extensions like gitlens, you would also have to pay.
@askholia
@askholia 3 дня назад
Yeah, don't go in and start hammering away like Mario at the code base. Integrate and adapt first.
@Drety6
@Drety6 3 дня назад
Then don't use it who cares
@regibyte
@regibyte 3 дня назад
Well but it doesn't really matter does it? It won't take long for the exact same functionality to reach vscode if it's really just a bunch of addons - the copilot guys are obviously seeing this too, why wouldn't they be able to iterate on their existing product
@PatrickSteil
@PatrickSteil 4 дня назад
Since that didn’t violate any he license I don’t see any issue.
@MrLinuxFreak
@MrLinuxFreak 4 дня назад
Whats better to use object or map for: storing and reading only by key. (Inmem cache..)
@Steve8708
@Steve8708 4 дня назад
@@MrLinuxFreak I personally like maps because you can also subclass them, eg making get() throw an error you can make an LRU cache easily by sub classing maps too
@AhmedRakan-y3v
@AhmedRakan-y3v 4 дня назад
Or better use obj for state, and react form hook , zod for input validation, or use ant design forms and thank me later, but make sure you learn the library
@gentrisleci3326
@gentrisleci3326 4 дня назад
The new interface of accessing hooks though is just bad. You have to blame React for thay
@toesdoeswhoknows704
@toesdoeswhoknows704 4 дня назад
You guys are haters fr
@amjedbelgacem8218
@amjedbelgacem8218 4 дня назад
No that’s most probably an extremely bad code, no amount of explanation can tell me why would a single component have that much states, the only thing i can tell is that there’s no reusable components nor a reusable state management anywhere
@rommellagera8543
@rommellagera8543 4 дня назад
As James Coplien once said "today's Dev team mantra is - we don't need to know the system, we just need to improve it" 😂
@theburntcrumpet8371
@theburntcrumpet8371 4 дня назад
Admittedly I've not had to handle massive amounts of states in a single component but you'd think some of those states could be wrapped into a common object and other probably shouldn't be there (should be extracted into other components)
@coolemur976
@coolemur976 4 дня назад
Even if you paid the price which would go directly to Microsoft, devs salaries would remain the same anyway 😂 Also: aww, poor multimillion company… 😅
@BlakeyPark
@BlakeyPark 4 дня назад
Honestly, there is nothing special about cursor, or any of these other AI-centric IDE’s. They all do the same thing. Have the same shitty features. Yet, gain popularity? They all just want to just on this AI bandwagon, and realistically this is getting out of hand. There are too many ‘AI code editors now’. Cursor, Pear AI. If developers didn’t write good code before, they certainly will not now. It’s astonishing how we frown upon outsourcing work, or supposedly frown upon outsourcing work to third world countries, yet people happily do it with AI. Soon code will all be unintelligible rubbish. Learn to code, not to use AI more efficiently.
@DoiPunctZero
@DoiPunctZero 4 дня назад
OK. But what is the fix for this? In this short you are just devplaining
@valeriyo
@valeriyo 5 дней назад
Garbage in, garbage out
@fabiotarocasalino257
@fabiotarocasalino257 5 дней назад
Tough luck
@librab103
@librab103 5 дней назад
React has been around for over a decade. JavaScript for almost 30 years. Stop blaming the old folks because you are a bad coder.
@Ctrl_Alt_Elite
@Ctrl_Alt_Elite 6 дней назад
I was thinking "that has to be satire" then i realised it's an actual commit 😭
@garchafpv
@garchafpv 6 дней назад
I think id like to use the thing that works best without you guilt tripping me into feeling bad about it.
@Saru-Dono
@Saru-Dono 6 дней назад
If you have 6 state values in your component it's probably time to break it up, not reach for useReducer
@coryortega2050
@coryortega2050 6 дней назад
Ideally the application you’re working on is well tested so you can refactor with confidence
@angelopav2
@angelopav2 6 дней назад
Just use Hook form + zod. Its perfect
@jaycebordelon3691
@jaycebordelon3691 6 дней назад
You do a phenomenal job of demystifying AI. Most people I know outside of CS talk about AI like it’s some random magic box. At the end of the day it is a parameterized model that is heavily dependent on its input (prompt). Keep it up.
@cs-vk4rn
@cs-vk4rn 6 дней назад
This why Copyleft Licenses should be used for these open source offerings.