Best of Medium2021

  1. 1
    Article
    Avatar of medium_jsMedium·5y

    Remaking WordPress in JS stack. Hello to a new CMS for Next.js websites.

    Cromwell CMS is a free and open-source CMS for Next.js websites. It is a set of packages and services that can be installed and launched independently. It inherits the advantages of microservice architecture, and it’s much easier to update the CMS simply via running one node command.

  2. 2
    Article
    Avatar of medium_jsMedium·5y

    5 min To Understand Event Loop in Javascript

    The event loop is a very important and core concept in javascript. 90% of javascript developers are not clear with it even though they have a very good amount of working experience. In this blog, I will try my best to explain the event loop in a very simplified way. We cover the following key points. How it supports multiple requests with the help of a Call Stack, Web API and Event Queue.

  3. 3
    Article
    Avatar of medium_jsMedium·5y

    Introduction to WebAssembly (WASM)

    As of today, 94% of installed browsers support WebAssembly. It enables near-native execution speed in a web browser, making it possible to port desktop applications (like AutoCAD) and video games (e.g. Doom 3) It has the potential to change websites from what we know them today to something much more.

  4. 4
    Article
    Avatar of medium_jsMedium·5y

    Prototype Inheritance in Javascript

    Prototypal inheritance is a method by which an object can inherit the properties and methods of another object. Prototype inheritance is useful anywhere you want to use the Object-Oriented approach with inheritance to model your problems. Backbone.js provides base classes such as Model, Collection, and View.

  5. 5
    Article
    Avatar of medium_jsMedium·5y

    The JavaScript Nobody Told You About

    The JavaScript Nobody Told You About Shivam Bhasin. The language that I feared and ran away from in the past 4 years was now in front of me. The reason I was afraid of JavaScript is mostly because of why you’re here too. It’s not easy to understand why it works the way it works.

  6. 6
    Article
    Avatar of medium_jsMedium·5y

    Flutter vs React Native: Which is the Best Choice for 2021?

    Cross-platform applications are faster to develop as it uses the same codebase for creating applications that can seamlessly run on multiple platforms. Different cross-platform app development frameworks offer a different set of features and benefits. Both of these frameworks are made and backed by the biggest tech giants of the industry Google and Facebook respectively.

  7. 7
    Article
    Avatar of medium_jsMedium·5y

    Don’t Use Electron Until You’ve Read This Article

    Electron is a framework that allows developers to create native desktop applications for Windows, Mac, and Linux from a single codebase. The biggest problem with Electron applications is security. It is too easy to create a highly insecure Electron application. Electron team has worked to address this problem, changing setting defaults to more secure options in recent releases.

  8. 8
    Article
    Avatar of medium_jsMedium·4y

    Set Up Web3 in Your React App

    This is a quick guide for setting up web3 in your React application. We will be creating a minting website that authenticates a user’s wallet and allows them to mint an NFT. You will be able to take advantage of decentralized identity in your application based on the wallet address e.g., .ETH domain name and later on NFT profile pictures.

  9. 9
    Article
    Avatar of medium_jsMedium·5y

    Handle JavaScript Events Like A Pro

    An event propagates in 3 phases: capture, bubble and target. If an event has occurred on a button then it will also be triggered by its parent and its parent’s parent and so on up until the HTML element. An event bubbling is the propagation of an event from its origin towards the root element.

  10. 10
    Article
    Avatar of medium_jsMedium·5y

    Create High-Performance JavaScript APIs using Rust

    WasmEdge brings together Rust’s performance and JavaScript's ease of use. The embed_js demo showcases several different examples of how to embed JavaScript inside Rust. The interpreter runs inside WasmEdge, and can execute JavaScript code, which calls API functions, from CLI or the network.

  11. 11
    Article
    Avatar of medium_jsMedium·5y

    Using Vue vs React

    Vue.js and React.js are two popular frontend (FE) JavaScript frameworks among web developers worldwide at present. Vue uses HTML templates by default, but there’s an option for writing in JavaScript Expressions (JSX) React relies on routing and state control on external solutions such as Flux/Redux.

  12. 12
    Article
    Avatar of medium_jsMedium·5y

    Dependency injection in Javascript

    Dependency injection (DI) is a programming pattern in which a dependency is passed using the parameters instead of instantiating it within the function or class. DI enables creating isolated individual components within application code and makes it easy to switch those dependencies in the future as the requirement changes. This article explores dependency injection in Javascript using higher-order functions.

  13. 13
    Article
    Avatar of medium_jsMedium·5y

    Object destructuring in JavaScript

    Object destructuring is a useful JavaScript feature to extract properties from objects and bind them to variables. It can extract multiple properties in one statement, can access properties from nested objects, and can set a default value if the property doesn’t exist. Object destructuring in JavaScript can be used to access objects with the key.

  14. 14
    Article
    Avatar of medium_jsMedium·5y

    10+ Useful React UI Libraries For Your Project

    React is a popular JavaScript library for building User Interfaces. Here are over 10 popular React libraries you might want to consider using for your project. 10+ Useful React UI Libraries For Your Project Nill Webdev Jun 18·3 min read                React: 10+ useful React UI libraries for Your Project.

  15. 15
    Article
    Avatar of medium_jsMedium·5y

    Style Guide for new JavaScript Developers

    If you are a junior developer, your code may not be very efficient and clean. In this post, I will explain the 10 best practices you can do to make your code cleaner. If you use IF as a condition, make sure there is enough spacing between them. Write lots of comments in your code.

  16. 16
    Article
    Avatar of medium_jsMedium·5y

    13 VSCode Extensions That Every Web Developer Must Use

  17. 17
    Article
    Avatar of medium_jsMedium·5y

    Sharpen your javascript skills with these topics

    Learn more about Error Handling using try-catch block that may help you to become a great programmer. Sharpen your javascript skills with these topics Shahriar Emon May 6·4 min read                            If you are a novice, you will hate errors. If you are an expert, you'll enjoy the errors because error leads you to make your program nearly flawless.

  18. 18
    Article
    Avatar of medium_jsMedium·5y

    Front-end web apps and automatic architecture decisions

    A lot of good work has been done through building front-end apps with frameworks like Angular, Vue, React. Deliberately choosing to build a front- end app means weighing the benefits you expect to see against its cost. Every line of code you write, every component you add to your architecture, every tool or dependency you introduce into your project is a liability.

  19. 19
    Article
    Avatar of medium_jsMedium·5y

    Do You Know the 5 Types of States in React?

    Do You Know the 5 Types of States in React? The helping guide to know your states in React better. Vithushan Jey explains the types of states such as Logical, Server, Form, Navigation, and Browser. Also, it will help 25.12% of the developers who would like to learn React.

  20. 20
    Article
    Avatar of medium_jsMedium·5y

    Javascript vs Python Syntax Cheatsheet

    This cheat sheet serves as high-level comparisons between the two languages. The arithmetic operators between Javascript and Python are identical — except for one. Python is missing the strict equality/inequality operators. Since Python treats all numbers as floats (decimal numbers), you can use the double division sign to get an integer.

  21. 21
    Article
    Avatar of medium_jsMedium·5y

    Vue Ecosystem

    Vue is a progressive framework for building user interfaces. It consists of a core library that focuses on the view layer and an ecosystem of supporting libraries. Vue is in 2nd place with 16.4% amongst the top 5 most wanted web frameworks. It is used by big companies such as Gitlab, Alibaba, Xiaomi, Adobe, Euronews, Nintendo, Grammarly, Codeship, Behance, and many more.

  22. 22
    Article
    Avatar of medium_jsMedium·5y

    OOP in JavaScript

    Every object in JavaScript has a Prototype chain attached it. Prototype chain is a set of objects linked with the internal hidden property [[Prototype] Each new object created has Object.prototype in its prototype chain and each array has Array.prototype. This prototype chain can be accessed using the property. __proto__ which is a getter for the hidden Property.

  23. 23
    Article
    Avatar of medium_jsMedium·5y

    Introducing notebookJS

    Introducing notebookJS: seamless integration between Python and JavaScript in Computational Notebooks Jorge Piazentin Ono. Notebooks are the perfect place to experiment with data visualization. Adding JavaScript to a Python notebook requires a lot of boilerplate code, which can become cumbersome and repetitive.

  24. 24
    Article
    Avatar of medium_jsMedium·5y

    Go vs Node.js: Who is Winning?

    Go is a general language designed with systems programming in mind. It was developed at Google within the year 2007 by Griesemer, Rob Pike, and Ken Thompson. The Go artificial language was proclaimed in November 2009 and is employed in several of Google’s production systems. Node.js could be a package platform to form quick, ascendible net applications quickly.

  25. 25
    Article
    Avatar of medium_jsMedium·5y

    Modern JavaScript

    Javascript is a most popular scripting language that used in both server-side and client-side application. It is based on ECMA (European Computer Manufacturer’s Association) which is responsible for defining standards for scripting languages. In the early years javascript not play a very important role in development as it contains some drawbacks. But after 2015, ECMA was able to do some modifications and released a new version of javascript and it was a very good one.