dev-resources.site
for different kinds of informations.
Why react components starts with capital letter ?
Published at
9/20/2024
Categories
javascript
react
babel
webdev
Author
abhishekpanwarrr
Author
16 person written this
abhishekpanwarrr
open
Do you know why react components start with capital letter????
The reason behind this is, react components written in JSX which internally convert it to react.createElement API. This create element function is convert into plain javascript object. A fundamebtal data structure which is known as React Fiber. This whole happen because of Babel.
Babel takes the component and convert it to a React Fiber object.
When babel encounters a name string with a capital letter it recognise it as a refernece not a string. On contrary every thing else is converted into string
Follow for more tips and topics ๐
babel Article's
30 articles in total
Manual Setup (Custom Webpack/Babel configuration) with react (i am not able running it )
read article
Babel and Sourcemaps, Part-1
read article
Imagining React Without JSX: A Developer's Worst Nightmare
read article
Explorando org-babel en emacs
read article
Introduction to custom Babel plugins
read article
How React JSX Gets Transformed Into JavaScript Behind the Scenes
read article
Why react components starts with capital letter ?
currently reading
Fixing Jest import failure
read article
Comprehensive Analysis of Industry-standard Build Tools
read article
Making a Logging Plugin with Transpiler
read article
Mastering Project Maintainability with Module Resolver
read article
Understanding Webpack and Babel: Key Tools for Modern JavaScript Development
read article
How I optimized Carousel for EditorJS 2x in size.
read article
Let's Talk About Babel: Have you ever stopped to understand it?
read article
Setup Jest, Babel e testing library para testes unitรกrios em React
read article
Setup Jest, Babel and testing library for unit testing in React
read article
Exploring Marvels of Webpack - Ep 1 - React Project without CRA
read article
What is Babel.js? Uses, Advantages, and Disadvantages
read article
The Comprehensive Guide to Babel
read article
Why to use babel ?
read article
Configuring StyleX in React application
read article
React Development Essentials: Webpack and Babel Introduction
read article
Abstract Syntax Trees and Practical Applications in JavaScript
read article
Create React App From Scratch With Isomorphic Rendering
read article
How React uses pragmas to run tests conditionally
read article
Unveiling the Artistry Behind JavaScript's Babel Engine: Transforming Code Across Frontiers
read article
Express & ES6 Boilerplate
read article
An introduction to Babel
read article
Building Cross-Browser Compatible Web Apps with Babel: A Step-by-Step Guide
read article
Configure Stimulus with esbuild and BabelโโโRails & Javascript
read article
Featured ones: