Curiosum Blog

async defer javascript file html parsing src attribute async scripts javascript files defer parsing javascript defer attributes

Async vs Defer - Which Script Tag Attribute is More Efficient when Loading JavaScript?

JavaScript is the most popular language in the world. Why? Because it's the only well-adopted language supported by Web Browsers that brings dynamics to the frontend experience.

Because of that, almost any web application requires developers to write at least a bit of JavaScript code. While it's not a problem (unless you hate this language 😉), some of us tend to create very complex, frontend-heavy applications that load.. well, definitely not fast.

In this article, you'll get familiar with async and defer - two script tag attributes that will speed up your website's rendering.

elixir use vs import require vs import elixir import vs use import vs require module-alias import functions writing code integer module difference between import and require

Alias, import, require and use in Elixir - complete guide with use cases.

In most programming languages we often deal with instructions responsible for handling dependencies. Elixir is no different.

In Elixir, dependency is nothing more than compiled module which for some reason you want to use in another module. There are a couple of instructions that we use in Elixir to either make it easier or possible to interact with modules.

In this blog post I'll explain and present use case examples of four of them:

  • alias,
  • require,
  • import,
  • use.