React without a bundler: A simpler approach

𝐋𝐞𝐚𝐫𝐧𝐢𝐧𝐠 𝐑𝐞𝐚𝐜𝐭 𝐰𝐢𝐭𝐡𝐨𝐮𝐭 𝐚 𝐛𝐮𝐧𝐝𝐥𝐞𝐫: One thing I recently learned, you don’t need a bundler to understand React. I tried using React the old-school way: • React via CDN • No JSX • No Vite / CRA Just 𝐑𝐞𝐚𝐜𝐭.𝐜𝐫𝐞𝐚𝐭𝐞𝐄𝐥𝐞𝐦𝐞𝐧𝐭, 𝐮𝐬𝐞𝐒𝐭𝐚𝐭𝐞, and 𝐮𝐬𝐞𝐄𝐟𝐟𝐞𝐜𝐭 Writing React this way made me appreciate: • Why JSX exists • How components are just functions • How state and effects work under the hood When I first started React, I jumped straight into tools and setup. Recently, I tried building a tiny React app without any bundler, and it changed how I see React. Seeing 𝐮𝐬𝐞𝐒𝐭𝐚𝐭𝐞 and 𝐮𝐬𝐞𝐄𝐟𝐟𝐞𝐜𝐭 work in a 𝐩𝐥𝐚𝐢𝐧 𝐇𝐓𝐌𝐋 file made React feel less intimidating and more logical. Small exercises like this are helping me build confidence step by step. Learning slowly, but properly. It’s a small experiment, but it gave me a much clearer mental model of React. #ReactJS #JavaScriptLearning #Frontend #Programming #ReactBasics

To view or add a comment, sign in

Explore content categories