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.
![Image of t...
For further actions, you may consider blocking this person and/or reporting abuse
This week I learned about pre- and post- scripts in npm (and yarn).
If you have a script in your package.json like "foo", you can add another script "prefoo" and it automatically runs before foo does.
This week I learnt about redux. Initially I thought it was associated with react but it wasn’t. It is a standalone state manager but can be used with react. Had an intro to it with explanation on the keywords like Actions with their payload and keys, Reducer functions and how it’s advisable to creat a main function linking all reducer functions. Still confused but I feel I’m off to a great start.
Been seeing posts on Twitter about NFTs, I was wondering why those game characters cost so much when advertised on posts tagged nfts apparently they aren’t just images😅.
Nice!
I learned I can track the root of any raised exception within Spring Web MVC by bypassing filters with the use of a class annotated with @ControllerAdvice and a corresponding method annotated with @ExceptionHandler and the desired exception to catch.
In the end, the issue's root cause was myself, sending invalid JSON (took me a whole hour to realize it! I blame Postman though).
Still, using said annotations helped me unveil how and where did my tests fail.
Nice!
WIth Terraform you can write your own custom providers for anything.
So this is a tutorial on how to create a IaC to provision a spotify playlist
learn.hashicorp.com/tutorials/terr...
I've been learning Terraform for a few reasons. One is so I can setup a golden image pipeline for my Forem server so I can safely extend it with custom features.
Nice! You should do a write up on forem.dev about it once you get it done.😎
I got a good start on learning how to use oclif to create cli tools this week-- am learning by making a cli quiz game :)
Awesome!
Contuning my go journey with
writing apis in go lang with database connection
I learnt that I can divide angular apps using module instead of components with seperate models and routes folder