~/notes/learnings — 9 entries
Notes on learnings.
- React Content Security Policy (CSP) with a NonceHow to add a CSP nonce to a React + Webpack app served by Node or NginxLearnings2 min
- Remove node_modules from all foldersA cross-platform guide to reclaiming disk space from stray node_modules foldersLearnings1 min
- Mock Framer Motion with JestMock Framer Motion in Jest with React.Forward Reference component animationsLearnings3 min
- Fallback image if image is not found in picture source tagHow to fall back to another image when an avif or webp source in a picture tag returns a 404Learnings3 min
- Stop Port in TerminalStop running port in mac terminalLearnings1 min
- REST API's in GoCreating simple REST end points in GoLearnings1 min
- Date validation in javascript including leap year and invalid datesChecking if the entered date is a valid date in client side and inform customer to create better UX experience. Checking invalid dates in leap years as well.Learnings1 min
- Type Checking in JavaScript files with JS DocJSDoc annotations to provide type information in JavaScript filesLearnings2 min
- How to update a forked repo from original oneSync new changes from original reposiotry to your repositoryLearnings1 min