Dave
@dwhensonAll solutions
- Submitted about 2 months ago
Product List with Cart - Angular
#angular#typescript- HTML
- CSS
- JS
I've a couple of questions I'd love feedback on - mostly based on my experience with React:
Am I mutating state and does this matter? In the button component I am increasing/decreasing the quantity within the component rather than destroying and updating the state in DesertsService. Everything seems to work OK, but I'm not sure if this is bad practice?
Reaching into the DOM... I'm reaching into the DOM to remove items from the Cart component. I feel like this is wrong. From working with React I feel like I should be handing this over to Angular to take care of rather than using querySelector.
I am also using the native HTML dialog element and methods for the modal. Again this feels wrong, and being able to dismiss the modal with the escape key knocks state out of sync. I used @viewChild to access the dialog, but honestly, I just pasted this in with little understanding.
- Submitted 2 months ago
Result Component - Angular
#angular#typescript- HTML
- CSS
Any advice on basic aspects of Angular that I may have missed or practices could be improved would be most welcome.
- Submitted 2 months ago
Results Component - Learning Angular
#angular#typescript- HTML
- CSS
Any advice on basic aspects of Angular that I may have missed or practices could be improved would be most welcome.
- Submitted about 2 years ago
Tic Tac Toe - React and Styled Components
#react#styled-components- HTML
- CSS
- JS
- Submitted over 2 years ago
Sunnyside Agency - Intrinsic Design Approach
#accessibility#cube-css#sass/scss- HTML
- CSS
- JS
- Submitted over 2 years ago
Progressively enhanced, accessible, dropdown menus and burger-menu
#accessibility#progressive-enhancement#cube-css- HTML
- CSS
- JS
- Submitted almost 3 years ago
SCSS, Vanilla JS and HTML Drag and Drop API
#accessibility#sass/scss- HTML
- CSS
- JS
- Submitted about 3 years ago
Progressively enhanced, vanilla everything, Bookmark Landing page
#accessibility#gulp#sass/scss- HTML
- CSS
- JS
- Submitted about 3 years ago
API shortening - CSS animations and transistions
#accessibility#sass/scss#gulp- HTML
- CSS
- JS
- API
- Submitted over 3 years ago
Planets Site - Eleventy, nunjunks, SCSS and ES6 modules
#accessibility- HTML
- CSS
- JS