Sign in

Developer Debugging Skills

const users = [

Accdient-Driven Development

Forget TDD,BDD, or DDD

1. TDD:
2. BDD:
3. DDD:
  • In the file of app-routing.module.ts of every lazy-loading module, use forChild() but not forRoot()
  • In the file of app-routing.module.ts of the root module, use loadChildren() but not XxxComponent
  • In the file of app.module.ts of the root module, remove all the lazy-loading modules from “imports” list. Otherwise, lazy loading won’t work!

Step #1. Install the extension

Install C# Extension

Step #2. Configurations

Stop updating the file names, classes or variables one by one!

Why Copy &Paste?

Creating a Node.JS application

Black Outline


How to implement ScrollSpy without any 3rd party library

$('body').scrollspy({    target: '#navbar',    offset: 80});

Scroll Animation
html {    scroll-behavior: smooth;}

Derek Ji

Full Stack Developer (specialised in .NET Core, Angular and ReactJS)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store