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 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!
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! 😁
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.
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.
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!
Thank you!
@@jherr When it's completed, will you be selling physical versions?
@@avi7278 Maybe. I'll have a chat with O'Reilly or Packt. It's good to know there is interest though.
@@jherr Would be a great addition to my library, thanks for all your efforts!
@@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!
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 ;)
Thank you!
@@jherr no, thank you! :)
Best most practical tutorials on JS and Typescript on TH-cam. It had to be said.
No BS TS is just the best!!!
Yep, just locked it in, got the book. Love the reference material! Thank you!
Very solid content Jack. Thanks
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! 😁
Fantastic content Jack! Love the series
almost a mobx library in just 10 minutes!!
1:10 "Rescource"? - haha just being silly, great video as usual Jack 🙂
Agghhh... Problem is that the textarea where I type in those labels is this crazy small font... 🤣
Nice explanation and so profesional.. One question, I think you miss to call proxy.subscribe(console.log)() to delete the suscribe right? Thanks.
Awesome~
Mind blowing 🔥
Would you it be possible to cover the plugin architecture pattern as well ?
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.
the problem is the get and set is does not support promises or await
Valtio is doing pretty much the same thing.
Exactly. This the technology at the heart of MobX and Valtio, albeit with a lot more infrastructure and fault tolerant code.
is the book sale over?
Nope, still on sale. :)
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.
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.
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
is this series over? 🤔
Hiatus for a while. Will be back at some point in some form.
@@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