@MaverickAlbert5 ! is a unary operator.
x = ‘false’
In this case, x is a truthy value. !x is simply saying not true and !!x is not(not true). 😅
!x = false
!!x = true
@MaverickAlbert5 === is a for strict comparison while == is not strict. 3 == ‘3’ is true because ‘3’ is implicitly converted to 3 but 3 === ‘3’ is false because typeof number does not equal to typeof string.
I completed the authentication flow for the book application, added functionality for adding books, creating anonymous cart and merging it to a user when logged in.
So far I’ve put into practice a lot of things I’ve learnt while building this fullstack application.
#WomenInTech
Update on the book application I’ve been working on.
I’ve been able to test login functionality for the application and I’m currently working on adding functionality for proper authentication.
#webdevelopment#buildinginpublic#Angular#webdeveloper
Day 93 - 96
93 - 94 ==> I had a question and answer section with a coach.
95 - 96 ==> I did my research on how to calculate and update the average rating and number of reviews for a book whenever new review is added or removed.
#100daysofcode#buildinginpublic#webdevelopment
Day 83 - 86
==> I learnt ngrx in Angular. It's similar to Redux which is efficient when it comes to state management.
==> I started building my portfolio using Next js and I'm also using neumorphic ui design.
#100daysofcode#buildinginpublic#webdevelopment