Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 186
  1. StackBlitz is a great tool for rapidly prototyping web applications.

  2. JavaScript has a method for generating random numbers from 0 to less than 1: Math.random().

  3. Awhile back, I read about using separate Chrome profiles[1] for debugging.

  4. When React wants to render a component, it renders all of the components in the tree from that point.

  5. My wife showed me a Tik Tok series where someone was decluttering their life by getting rid of an increasing amount of items every day for 30 days.

  6. When teaching people (or computers) to read, it's useful to group similar words into categories.

  7. Google Chrome provides a feature in the dev tools to emulate a device within the desktop browser.

  8. I initially published a note about how easy it was to upgrade to Eleventy 1.0.0, but I hit a snag which warrants a quick article.

  9. Make a web component

    To make a web component, you need to create a new class.

  10. Starting Fall of 2021, I noticed that my bluetooth headphones would periodically mute me while I was speaking during video chats on Google Meet.

  11. A good diagram can make a big difference when communicating a message.

  12. When working on a React Native app, you will probably make some changes to the build.gradle file in your projects android/ directory.

  13. I don't think I've written about Toollama.com yet on this site, so here's a quick introduction.

  14. React Native Glossary

    Building applications with React Native requires a high-level understanding of mobile development on Android and iOS devices in addition to React and React Native fundamentals.

  15. When React Native was first released, it included extra modules that were helpful for mobile development like WebView, NetInfo, and AsyncStorage.

  16. When running a device simulator on macOS, it is possible to navigate that system's directly through the command line (or Finder, if you'd prefer).

  17. When writing CSS classes, I prefer BEM's naming system.

  18. React Native is framework for building Android and iOS application using React and native capabilities.

  19. For a recent article, I wanted to add some embedded YouTube videos.

  20. In Enzyme, wrapper's have a handle .html() method that will return the outerHTML for that element in the tree.

  21. I've used remark in a few different projects, and each time I found it difficult to get started.

  22. If you have a class in JavaScript and want to know the number of methods it contains, there are a few steps that you need to follow.

  23. Git

    Here are some of the git commands that I find useful when doing by work as a software engineer.

  24. Hello search params!

  25. I ran into an issue today when I tried to serve a typeface I downloaded from Google Fonts.

  26. When trying to setup Netlify CMS on a project, I kept getting this error on the /admin page: Error loading the CMS configuration Config Errors: YAMLSemanticError: Implicit map keys need to be on a single line at line 1, column 1: <!

  27. When responding to code-review requests, I like to point the reviewer to the specific commit where the issue was addressed with a message like: Fixed in 4908c91a06258814077b1358210eb78cc718609c GitHub will automatically detect the hash, shorten it, and co…

  28. In a recent Eleventy project, I wanted an easy way to add Heroicons.

  29. After hearing of a few people doing the same, I set up a mostly-free URL shortener with Netlify: smcp.dev.

  30. When working on a Svelte application, I wanted to replace newline characters in a string with <br> elements and render the result as HTML.

  31. Let's stop skinning cats

    Idioms are interesting.

  32. To search the current directory for all files that contain two independent strings, you can use the following terminal command: grep -lr "common" $(grep -lr "rare" .)

  33. In a recent Eleventy project, I wanted to create a single collection for tags with two keys: alphabetical for an array of all tags, and popular for an array of arrays with the tag and number of times it was used.

  34. I spent some time this week enjoying Dave Geddes' content.

  35. Static-site generators like Eleventy are great at building websites.

  36. Today I needed to checkout a branch, pull the latest, then checkout dev, pull the latest, and merge dev into my branch.

  37. I have a type interface for shapes that looks something like this: interface Shape { height?

  38. While converting a JavaScript create-react-app project to TypeScript, I wanted a single line of text to every .tsx file.

  39. I ran into an issue where Sass was converting hsla() values to hex incorrectly.

  40. I like learning from audio and video, from podcasts to YouTube videos.

  41. At work, I ran into an issue that may have been related to an external dependency.

  42. Authors note: Before you read this article, you will want to click the "Start timer" button below to enable the live demos.

  43. As a superset of JavaScript, TypeScript provides a lot of useful features.

  44. To emulate an iPhone or iPad in Safari, you first need to have the developer tools enabled.

  45. fetch is utility for making HTTP requests from the browser.

  46. Removing an item from an array at a given index is a pretty common task in programming.

  47. While doing some cross-browser testing in Safari, I noted that tab was not working as expected.

  48. When I tried to run jest --watch in a codebase, I received the following error: Error: EMFILE: too many open files, watch at FSEvent.FSWatcher.

  49. Last month, I embarked on a journey to learn TypeScript better.

  50. If you want to access the home directory from you Deno program, you can use the Deno.env's get method with "HOME": Deno.env.get("HOME"); In unix environments, returns a string along the lines of "/home/USER".