Skip to content
TILens What matters today in tech v0.4.0
Theme

Topic - Edition

JavaScript news

53 items on 05 Oct 2026
JavaScript React

useContext Hook in React

Context and useContext in React When building a React application, components often need to share data with other components. Normally, we pass data from a parent component to a child component using props. This works…

Source: DEV JavaScript feed Abimanyu P
JavaScript React

Animations Play. Interactions Respond.

I kept rebuilding the same web effects for different projects. Eventually, I stopped rebuilding them and started building a library. There is a folder on my machine where most of my motion experiments go to die.…

Source: DEV JavaScript feed Mohamed Sadok
JavaScript

A no-network test needs a request that makes it fail

A browser-local CSV comparison prototype developed and tested with AI assistance needed a test for network activity after file selection. Its saved records show that the first test failed because it counted local Blob…

Source: DEV JavaScript feed Renga
JavaScript

I named three developer tools. All three names were taken on npm.

I shipped three small tools over about a week. Bridle, Interlock, Slopguard. I was pleased with the names — short, metaphors that explain the mechanism, not a vowel-dropped startup pun among them. Then, quite late, I…

Source: DEV JavaScript feed Manpreet Singh
JavaScript

How to Fix the 8 Most Common JSON Errors

SyntaxError: Unexpected token } in JSON at position 212 is one of the least helpful error messages a developer sees. It tells you that the JSON is broken, but not why, and the position is a character offset you have to…

Source: DEV JavaScript feed Mark Foster
JavaScript

how i detect mobile vs desktop without cookies or user agents

most analytics tools know your visitors' phones better than you do. their model numbers. their os versions. their browser builds. all from a string the browser sends on every request. i didn't want that string. so…

Source: DEV JavaScript feed Om Yaduvanshi

53 items available