Skip to content

Feb. 21, 2020: What did you learn this week?

twitter logo github logo ・1 min read  

Weekly Learnings 2020 (13 Part Series)

1) Jan. 3, 2020: What did you learn this week? 2) Jan. 10, 2020: What did you learn this week? 3 ... 11 3) Jan. 17, 2020: What did you learn this week? 4) Jan. 24, 2020: What did you learn this week? 5) Jan. 31, 2020: What did you learn this week? 6) Feb. 7, 2020: What did you learn this week? 7) Feb. 14, 2020: What did you learn this week? 8) Feb. 21, 2020: What did you learn this week? 9) Feb. 28, 2020: What did you learn this week? 10) Mar. 6, 2020: What did you learn this week? 11) Mar. 13, 2020: What did you learn this week? 12) Mar. 20, 2020: What did you learn this week? 13) Mar. 27, 2020: What did you learn this week?

It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.

Show host saying "Never stop learning!"

Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.


Summarize a concept that is new to you.

And remember, if something you learnt was a big win for you, then you know where to drop it as well.👇👇🏻👇🏼👇🏽👇🏾👇🏿

Little kid on Jeopardy answering a question correctly

twitter logo DISCUSS (25)
markdown guide

I learnt how to make a script to kill a port (to stop a localhost server) by calling an npm command that runs a js file that runs a PowerShell script. Works like magic.

It was my first time touching a PowerShell script so this gave me extra points :D


This week I learned more about the Net Core Request Pipeline.
Especially, that when using a controller with non default ActionResult return type, like for example BadRequest(), that these ActionResults will get wrapped in another ActionResult, which makes unit testing kind of tedious. E.g.:

        // controller method
        public async Task<ActionResult<Author>> GetOneById(int id)
            Author result = await _authorService.GetById(id);

            if (result != null)
                return result;
                return NotFound();

        // tests
        [Fact(DisplayName = "Should return correct author by id")]
        public async Task Should_Return_Author_By_Id()
            // arrange
            var expected = fixture.authorList.Where(author => author.Id == 1).FirstOrDefault();

            // act
            var result = await controller.GetOneById(1);

            // assert
            Assert.Equal(expected, result.Value); // Using Value since ReturnType is ActionResult<Author>, so we need to access the value

        [Fact(DisplayName = "Should return NotFound()")]
        public async Task Should_Return_Author_NotFound()
            // act
            var result = await controller.GetOneById(999);

            // assert
            Assert.IsType<ActionResult<Author>>(result); // check method return type matches
            Assert.IsType<NotFoundResult>(result.Result); // check actual return is as expected

Mario approves. He's just not sure which pipeline to jump into 😉

Someone playing Super Mario 1


I've learned about the Nuxt.js framework, how to integrate Bulma with Nuxt, how to route static pages, and using HTML/CSS for fluidly!


Got some time to clean up my bash prompt by adding a random emoji to it. This was way more fun that I thought it would be.. (also there’s a bug here that’s fixed in a follow up commit 😅)


I've learned about Chakra UI. Also learned this week that UI Fabric decreases my productivity, so I will be better away from it. Last but not least, learned how to integrate Remote Func with Next.js


I haven’t tried it yet, but I’ve heard great things about Chakra UI.

GitHub logo chakra-ui / chakra-ui

⚡️Simple, Modular & Accessible UI Components for your React Applications

chakra-ui symbol

Build Accessible React Apps with Speed ⚡️

All Contributors Bundle Size MIT License NPM Downloads Spectrum Spectrum Spectrum

Chakra UI provides a set of accessible, reusable and composable React components that make it super easy to create websites and apps.

Looking for the documentation?

Here over here =>


  • Ease of Styling: Chakra UI contains a set of layout components like Box and Stack that make it easy to style your components by passing props Learn more
  • Flexible & composable: Chakra UI components are built on top of a React UI Primitive for endless composability.
  • Accessible. Chakra UI components follows the WAI-ARIA guidelines specifications and have the right aria-* attributes.
  • Dark Mode 😍: Most components in Chakra UI are dark mode compatible.

Support Chakra UI 💖

By donating $5 or more you can support the ongoing development of this project. We'll appreciate some support. Thank you to all our supporters! 🙏 [Contribute]



Support this project…


I learnt to incorporate different React Native libs with each other + with React Hooks!
Also learnt a bit of GraphQL for making a schema for a custom api :)


I've learned about writing example tests on Golang, to show the code on godoc.
I also learned how to deploy an application on GCP App Engine. :D


Finally understood a lot on react and got my hands dirty with it. Hoping to learn more and go down further


That I am more versatile than I think I am.


Developed an application on Springboot. Exposed rest end points. Created automated tests using Postman. It was a fun excercise.


Learned the basics of VueJS! I'm already making my first app


I made my first typescript github actions, and in another one, I use awk, which for some reasons I neglected before.


I learned a PHP class to generate PDF barcodes from the Square API to generate barcode labels for my retail shop.


Finally learned how to lift up state in React. T_T I'm still a little bit confused about the subject but at least I got my app to work.


What are you confused about? Is there anything I can help you with? Been coding with React Native + React for a year now :)


Today I learned about hands down the best twitter account to follow 🤘🚀

  • Learned how to make a Chrome extension (did one actually)
  • Learned that Chrome extensions will be deprecated in the near future
Classic DEV Post from Jul 30 '19

What's your favorite question to be asked?

Nick Taylor (he/him) profile image