Skip to content
Ákos Kőműves

Tag: JavaScript

All the articles with the tag "JavaScript".

  • How to migrate from Mocha to Jest

    Updated: at 02:46 PM

    Move a Mocha suite to Jest with small edits instead of rewriting tests, including JSDOM via Jest's testEnvironment and mocha.opts.

  • Use TypeScript to DRY up React components

    Updated: at 02:35 PM

    After using React context to stop prop drilling, replace repeated PropTypes with TypeScript and the tradeoff that introduces.

  • Use React Context to DRY up your components

    Updated: at 02:36 PM

    In this post, I'll show you a typical example of plumbing inside a React application and a way to fix it.

  • $.find and XML namespaces

    Updated: at 02:36 PM

    Query namespaced XML with jQuery. find() on fancynamespace:tag works in Firefox or Chrome, not both, and a nodeName filter fixes it.