DEV Community

Discussion on: June 17th, 2021: What did you learn this week?

Collapse
 
skidragon profile image
Simon Davis • Edited

Another great week of learning and discoveries. :D I learned about the basics of webpack, how to make it use loaders, and find the files to use those loaders by using a test regex and include path. I had to use it for storybook to understand scss modules. At the next.js conference, the new features like placeholder="blur" and using it in conjunction with a dataUrl. Also the live editing & collaboration seems pretty awesome. Also using getStaticPath and getStaticProp, now I can start using it for the e-commerce site project once I pick out a headless CMS. I read about clean architecture:
blog.cleancoder.com/uncle-bob/2012...
In summary, it is about what de-coupling enterprise and business rules from the implementation details which the implementation could be using a framework like React. Sometimes tools can create "certain standards" of how we should architect our app and that is something we should be careful of.
For CSS, there is this awesome pseudo-selector called ::selection. This is great for changing the highlighting of text in a page. Also every-layout.dev/ talks about how we should use composition to create layouts, it uses the idea of having layout primitives (our building blocks) to create organized and DRY CSS. Last but not least, concreting my understand of generics and utility types in typescript and the usage of keyof property. I'm watching this series called "No BS TS" on youtube which is so awesome! I recommend checking it out. By next week, I plan to get Stripe and a headless CMS connected to my e-commerce app.

Collapse
 
nickytonline profile image
Nick Taylor

That's awesome! 🔥

Yes, that's awesome!