πŸ€– Coding News ⚑️
27.2K subscribers
2 photos
1 video
807 links
High quality articles, videos, and tutorials about programming πŸ’»

HTML, CSS, Sass, JavaScript, TypeScript, React, Angular, Electron, Node, Vue, GraphQL and other topics πŸ’₯

@CodingChat talk with other engineers
@CodingNewsFeedbackBot advertisement
加ε…₯钑道
​​I found out that I repeatedly use some TypeScript code patterns in daily work. Those code patterns aren’t heavy or complex, and they also don’t require a lot of boiler-plate code. They’re just simple and practical solutions to resolve a few common problems.

⏱ 7 minutes

#TypeScript
​​Editors may have problem with auto importing that complicated relative paths ( at least VSCode does ). Importing manually from various modules in your project will start to feel very cumbersome ( trust me, I experienced that with my team at work… )

⏱ 6 minutes

#TypeScript #Webpack #Jest
​​As someone who loves cutting-edge technology, I choose to build my first SaaS with a modern tech stack. With the rise of JAMStack and serverless architecture, I created PostMage with Next JS static generation for the frontend and the Node.js backend deployed to AWS.

⏱ 8 minutes read

#AWS #React #TypeScript #NextJS
​​Dealing with a common data model between the front-end and the back-end can be a pain if you’re not working on a monorepo. This is because ideally, you do not want duplicate code that can become out of synch by lack of maintenance.

⏱ 8 minutes read

#TypeScript
​​Typescript has had Template Literals since its early stages. They are really useful when you want to create types from a static string. It was not until the Typescript 4.1 release that we saw Template Literal Types. In further releases, the Typescript team has been polishing its features and fixing some quirks. As a result, it is now a mature feature.

⏱ 5 minutes read

#TypeScript
​​For the past few years, Node became one of the most popular back-end solutions. It’s very easy to bootstrap an app on Node and start handling HTTP requests on the fly. But there is a problem, in most cases, Node apps get very complicated and coupled while they grow, so keeping domain and persistence layers separate becomes extremely hard.

⏱ 5 minutes read

#TypeScript
​​Since React props are used to send transmit data between one React component to another, there are many types that you can use to type React props.

⏱ 12 minutes read

#React #TypeScript
​​At Vim we’re using TypeScript heavily and through our TypeScript journey I’ve found a few patterns that helps organise and improve types declarativity.
There are a few pain points I’d like to discuss and offer some useful tricks and strategies to confront them

⏱ 7 minutes read

#TypeScript
​​TypeScript has many features that we’re using on a regular basis or, to put in another way, too many features to keep in mind. Releases are pretty often. It means that new features are constantly arriving.

⏱ 10 minutes read

#TypeScript
​​Using strongly typed language has a lot of benefits. But TypeScript is not a magical tool β€” the stronger types you provide, the better results you will get. Unfortunately, in a lot of the cases we can end up using very broad types to describe much narrower sets of values β€” it’s foremost apparent when using primitives like strings or numbers.

⏱ 5 minutes read

#TypeScript
❀1
​​Welcome to the Mastering TypeScript series. This series will introduce the core knowledge and techniques of TypeScript in the form of animations. Let’s learn together!

⏱ 6 minutes read

#TypeScript
​​Last week I wrote an article about code smells in TypeScript, the article received a lot of attention and praise. So I think many people want to know more about code smells in general and TypeScript to be more specific.

⏱️ 4 minutes read

#Typescript
​​An ORM provides a simpler way to interact with databases in an app, it allows developers to work with data using objects.

⏱️ 6 minutes read

#Typescript #ORM #Database
​​For the last couple of years, I have done lots of interviews for the Senior NodeJS Developer position, and one of the key requirements always was a good knowledge of TypeScript. How good exactly? Well, by β€œgood” I understand the ability of a programmer to use TypeScript not just as a set of keywords you can use to define types, but as a tool that helps you design and to write better code.

⏱️ 5 minutes read

#Typescript