top of page
Babel 101: Writing Future JavaScript, Today
If you’ve spent any time in the JavaScript ecosystem, you’ve likely heard the name Babel come up again and again. It’s one of those tools that quietly powers a huge portion of the modern web, yet many developers use it without fully understanding what it does or why it matters. Let’s break it down in a clear, practical way. Babel is a JavaScript compiler - a tool that converts modern JavaScript code (ES6+ and beyond) into a version that older browsers or environments can unde
2 min read
Bun 1.0 is finally here
Bun is a fast, all-in-one toolkit for running, building, testing, and debugging JavaScript and TypeScript, from a single file to a full-stack application. Today, Bun is stable and production-ready. According to bun official blogpost, bun’s goal is simple: eliminate slowness and complexity without throwing away everything that’s great about JavaScript. Your favorite libraries and frameworks should still work, and you shouldn’t need to unlearn the conventions you’re familiar wi
1 min read
How To Pass Data Between Pages In React?
We can pass data between pages in React in both class as well as functional components using Links v5 react-route and useNavigate, useLocation (hooks) v6 of react-router. Let’s see how we can achieve the above in the class component In PostScreen (Component) we have a Create Post link, by clicking the link we will go to the "/post-details" page with the data we passed in the state object. import React from 'react'; import { Link } from 'react-router-dom'; export default class
2 min read
bottom of page