Coding Guides
34 articles
Posts in Coding Guides
- Advanced try/catch/finally in Javascript and TypescriptTake a detailed look at the implementation of a try-catch-finally-block
- Barrel files in JavaScriptThe Benefits and Disadvantages of Using Barrel Files in JavaScript
- Better documentation in TS & JSHow to write better docs in Javascript with rich metadata
- Catch errors in Promise.allA safe alternative to Javascript's Promise.all
- Custom lib-folder in SvelteKitHow to create a path alias in SvelteKit
- Dark mode for Github Markdown imagesHow to use different images in Markdown for light or dark mode
- React Batched UpdatesHow to combine state updates in a single render call
- ES6 import with parametersHow to pass parameters to an ES6 module when importing it
- Fix for Webkit's 100vh in TailwindHow to fix the 100vh behavior in Tailwind
- Fix mobile webkit 100vhMobile Webkit's handling of 100vh might need more attention
- The Symbol in JavascriptGet to Know Symbols
- JSXThe Javascript XML sytnax
- How to determine OS in browserUse modern APIs to retrieve information about the host system of your web app
- Firebase Functions domain How to use a custom domain for Firebase Functions
- Web Share APIHow use the web's native share-API
- Network Information API for PWAsHow to determine real network data in your web app
- Lazy loading modules in SvelteHow to import your component on demand
- License generator in SvelteKitCreate a list of dependencies for you SvelteKit-project
- Lightweigt alternative to AxiosUsing Redaxios instead of Axios as a small alternative
- MSW in SvelteKitHow to implement MSW for local development in SvelteKit
- New viewport sizesHow svh, lvh and dvh can improve your responsive design
- Next.js NPM license generatorHow to create licenses from your package.json
- Typescript Pipeline OperatorWrite chained function calls in Typescript
- PWA vibration APILet's use the navigator to shake your device
- React.js PortalThe magic of rendering elements outside the own DOM-tree
- Simple animated analog clock in Tailwind.cssHow to create a very simple analog clock with animation only in Tailwind.css
- The 'satisfies'-operator in TypeScriptValidate that the type of an expression matches some type, without changing the resulting type of that expression
- DOM TreeWalker APIThe TreeWalker API
- Typescript Tagged Template StringsHow to use template strings as functions
- Typescript Private Class PropertiesTypescript supports private properties for classes
- Typescript Template String Types as DiscriminantsImproved template literal types with Typescript 4.5
- Typescript Template String TypesHow to narrow down string types using the template string mechanism
- Typescript Tuple TypesHow to best type tuples in Typescript 4.2 and later
- Web App Badging APIHow use a badge for your installed PWA