DEV Community

swyx
swyx

Posted on β€’ Edited on

4 1

Make your own Dev.to CMS livestream - Part 2

This is day 2 of my livecode Dev.to CMS. See Day 1 here

Source: https://github.com/sw-yx/dev-to-cms
Demo: https://dev-to-cms.now.sh

Things covered

Video

Here is the YouTube livestream (3 hours).

Dev.To embed:

For the 1st half, it was pretty easy going. I was mostly pulling components off of Tailwind UI and assembling an editor!

For the 2nd half, I mainly faced issues with trying to integrate Monaco and then Prism.js. Finally landed on Highlight.js.

Catch up on the Dev.to CMS LiveStream!

Top comments (1)

Collapse
 
teamallnighter profile image
Chris Connelly β€’

So cool!!! nice work

typescript

11 Tips That Make You a Better Typescript Programmer

1 Think in {Set}

Type is an everyday concept to programmers, but it’s surprisingly difficult to define it succinctly. I find it helpful to use Set as a conceptual model instead.

#2 Understand declared type and narrowed type

One extremely powerful typescript feature is automatic type narrowing based on control flow. This means a variable has two types associated with it at any specific point of code location: a declaration type and a narrowed type.

#3 Use discriminated union instead of optional fields

...

Read the whole post now!

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay