Proxy & Flyweight Patterns - No BS TS Series 2 Episode 5

  Рет қаралды 10,162

Jack Herrington

Jack Herrington

Күн бұрын

Пікірлер: 36
@avi7278
@avi7278 3 жыл бұрын
I'm a 10 year developer who has just recently started working with typescript. This is by far the most structured and instructive typescript information that I've come across. Even though I'm pretty well-versed in typescript now, I'm definitely going to pick up your book, to fill in some of the typescript blanks that I've got and definitely to have a handy reference and examples of all these patterns in one place is priceless. Heck of a job, my friend!
@jherr
@jherr 3 жыл бұрын
Thank you!
@avi7278
@avi7278 3 жыл бұрын
@@jherr When it's completed, will you be selling physical versions?
@jherr
@jherr 3 жыл бұрын
@@avi7278 Maybe. I'll have a chat with O'Reilly or Packt. It's good to know there is interest though.
@avi7278
@avi7278 3 жыл бұрын
@@jherr Would be a great addition to my library, thanks for all your efforts!
@avi7278
@avi7278 3 жыл бұрын
@@jherr Oh and Jack, one last thing. I'd love to hear your thoughts on the Zod validation library. It does run-time type checking and has an infer helper that generates typescript types from validation schemas. I've been trying to decide how heavily to use it. Seems expensive. I bet it would make a great video. Cheers!
@NorweskiDrwal
@NorweskiDrwal 3 жыл бұрын
The book is great! I am 4 years into working with TS and learning how other people work with it is priceless. 10/10 will recommend ;)
@jherr
@jherr 3 жыл бұрын
Thank you!
@NorweskiDrwal
@NorweskiDrwal 3 жыл бұрын
@@jherr no, thank you! :)
@matthew1106
@matthew1106 3 жыл бұрын
Best most practical tutorials on JS and Typescript on KZbin. It had to be said.
@tato03130
@tato03130 3 жыл бұрын
No BS TS is just the best!!!
@MrNathanShow
@MrNathanShow 3 жыл бұрын
Yep, just locked it in, got the book. Love the reference material! Thank you!
@ThEldeRS
@ThEldeRS 3 жыл бұрын
If I remember correctly vue uses proxies under the hood for state management, which seems pretty clear why it looks so similar to the custom hook you created! Enjoying this series a lot and already bought the book! 😁
@Messirobben047
@Messirobben047 3 жыл бұрын
Very solid content Jack. Thanks
@HeinekenLasse
@HeinekenLasse 3 жыл бұрын
Fantastic content Jack! Love the series
@francis_n
@francis_n 3 жыл бұрын
1:10 "Rescource"? - haha just being silly, great video as usual Jack 🙂
@jherr
@jherr 3 жыл бұрын
Agghhh... Problem is that the textarea where I type in those labels is this crazy small font... 🤣
@TheEfscomplex
@TheEfscomplex 3 жыл бұрын
almost a mobx library in just 10 minutes!!
@7urkoGaming
@7urkoGaming 2 жыл бұрын
Nice explanation and so profesional.. One question, I think you miss to call proxy.subscribe(console.log)() to delete the suscribe right? Thanks.
@mithushanjalangan5132
@mithushanjalangan5132 3 жыл бұрын
Would you it be possible to cover the plugin architecture pattern as well ?
@likesandeep
@likesandeep 3 жыл бұрын
Jack I am in love with your No BS TS series, I actually feel shame to watch such high quality content for free. Going to buy your book soon, is there any other ways to support you.
@mariokrstevski8836
@mariokrstevski8836 3 жыл бұрын
Mind blowing 🔥
@kuhaniresti
@kuhaniresti Жыл бұрын
the problem is the get and set is does not support promises or await
@techdesigner
@techdesigner 3 жыл бұрын
Valtio is doing pretty much the same thing.
@jherr
@jherr 3 жыл бұрын
Exactly. This the technology at the heart of MobX and Valtio, albeit with a lot more infrastructure and fault tolerant code.
@RetainWarrior144
@RetainWarrior144 3 жыл бұрын
is the book sale over?
@jherr
@jherr 3 жыл бұрын
Nope, still on sale. :)
@nattysweg343
@nattysweg343 Жыл бұрын
Awesome~
@paulharbinson1174
@paulharbinson1174 3 жыл бұрын
Anyone else get the following when they run 'npx ts-node index.ts'?... Must use import to load ES Module: C:\flyweight ode_modules ode-fetch\src\index.js require() of ES modules is not supported. require() of C:\flyweight ode_modules ode-fetch\src\index.js from C:\Users 0317643\Projects\Typescript\patterns\flyweight\index.ts is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
@paulharbinson1174
@paulharbinson1174 3 жыл бұрын
As a hack I have to downgrade to version 2 of node-fetch, create a tsconfig.json file and set strict to false in it.
@isaac.queiroz
@isaac.queiroz 2 жыл бұрын
And don't forget to install the types for the 2.0.0 version as well: yarn add -D @types/node-fetch@^2.0.0
@andTutin
@andTutin Жыл бұрын
is this series over? 🤔
@jherr
@jherr Жыл бұрын
Hiatus for a while. Will be back at some point in some form.
@VirtualDarKness
@VirtualDarKness Жыл бұрын
@@jherrhi! Just bought the book, but didn't realise the series was "on hold". Great content so far and hope you'll manage to add more chapters! Thanks
TypeScript Factory Patterns (No BS TS Series 2 Episode 1)
22:07
Jack Herrington
Рет қаралды 36 М.
TypeScript Pub/Sub Patterns (No BS TS Series 2 Episode 2)
22:46
Jack Herrington
Рет қаралды 21 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
You're Doing React Hooks Wrong, Probably
20:11
Jack Herrington
Рет қаралды 64 М.
Vites Fatal Flaw Fixed With Vinxi
11:23
Jack Herrington
Рет қаралды 17 М.
Command & Memento Patterns in Typescript (No BS TS Series 2 Episode 4)
26:26
Next.js + Inngest: Unlocking Long-Running AI Workflow Automation
17:47
No BS TS 34 - Typescript Decorators
17:08
Jack Herrington
Рет қаралды 20 М.
Mastering async code with Typescript and Javascript
39:01
Jack Herrington
Рет қаралды 78 М.
FASTER JavaScript In 2025 With Sets
13:13
Jack Herrington
Рет қаралды 20 М.
No BS TS #21 - Typescript/React - Hooks
11:41
Jack Herrington
Рет қаралды 12 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН