Filter
Exclude
Time range
-
Near
Jun 4
WordPress 7.1 is targeted for August, and it’s expected to ship the move from React 18 to React 19. For most projects, this should be smooth. But long-deprecated APIs like ReactDOM.render(), findDOMNode(), and function component defaultProps are being removed.
1
1
5
409
DAY 16 OF MY BACKEND JOURNEY Today I focused on Props and Component Communication in React, and it really helped me understand how data flows properly between components. Learning with @Nannoyapp WHAT I LEARNED: ■ I understood why props exist, instead of creating separate components for every user, I can build one reusable component and just pass different data into it. The parent controls the data, the child controls how it’s displayed. ■ I learned how props are passed using JSX attributes, and that they can carry anything from strings to numbers, booleans, arrays, objects, and even functions. ■ I practiced accessing props the basic way (props.name), then moved to the cleaner and more modern approach, destructuring in the function parameters. ■ I learned how to handle missing values using default values in destructuring, so the component doesn’t break or show undefined when something isn’t passed. ■ I understood the children prop, which lets a component render whatever is placed between its opening and closing tags. This is what makes reusable layout components like cards possible. ■ I also learned that defaultProps is no longer the preferred way for function components, so defaults should be handled directly in destructuring. WHAT I DID / PRACTICED: ● I built a reusable UserCard component and rendered different users using props ● Tested how props behave by passing different values into the same component ● Intentionally left out some props to see how default values work ● I styled my component properly using a separate UserCard.css file to keep things clean, smooth and structured. ● Leveraged Cloudinary by uploading my image there to generate a hosted URL, which I then used inside my component like a real world frontend setup ● I built a simple Card wrapper component using the children prop, which helped me understand component composition better So, yeah, this lesson made React feel more practical, not just components on screen, but real reusable systems where data flows cleanly and everything connects.
DAY 15 OF MY BACKEND JOURNEY Today, I officially stepped into the frontend side of the MERN stack… and yeah, I’m actually excited about this one🤭💃 Started React today! After spending weeks dealing with APIs, requests, and backend logic, it feels different finally seeing things come alive on the screen. Learning with @Nannoyapp WHAT I LEARNED: ■ I understood how "React" thinks in components. Everything is a tree, from the main App down to smaller reusable parts like Header, Greeting, and Footer. Each one handles its own piece of the UI. ■ I wrote my first functional component and realized "React" is literally just JavaScript functions returning UI. Simple, but powerful. ■ JSX finally made sense, looks like HTML, but it’s not. Learned the rules: one parent element, closing tags properly, using className instead of class, and embedding JavaScript with {}. ■ I built and rendered my first component (Greeting) and passed dynamic data into it. Seeing "Hello, Elon Musk!, Hello, PamPam"!show up on my page? Yeah… that felt good 😂 Lol. ■ I scaffolded a "React" app using Vite, and I get the hype now. The dev server starts almost instantly, and HMR updates hit the browser in milliseconds. No refresh, just smooth workflow. ■ I learned how to import and reuse components inside App.jsx, structuring my UI properly instead of dumping everything in one file. WHAT I BUILT: ● A simple React app with a Header, Greeting, and Footer component all working together ● Ran it locally and watched changes update in real time. This feels like the missing piece. Backend handles the logic. React brings it to life.
1
3
13
315
Day 42/100 #100DaysOfCode ⚛️ Today I learned: • Type checking with PropTypes • defaultProps & required props • Client-side routing with React Router • Nested routes, dynamic params & Outlet • Handling bad routes basic router testing • History API
3
27
Been spending the last few weeks getting comfortable with React ⚛️ Focusing on the basics : -passing data using props - component reusability – conditional rendering – PropTypes &defaultProps – rendering lists with map() Enjoying the process , one step at a time;
2
17
Day 33 of 60 Days of Code Today I learned about props, proptypes, defaultprops, conditional rendering and list rendering. I focused on using array methods like sort, filter and map. List rendering is still a lot to absorb but will get better.🥲 #react #javascript #codingjourney
1
1
12
164
22 Aug 2025
⚠️ What's changing in v11: - IE11 support dropped - defaultProps moved to compat - Auto px suffixing moved to compat - TypeScript 5.1 required - ESM bundles now use .mjs Most apps will upgrade smoothly with minimal changes needed.
1
12
923
React – Day 2 Today was all about making components dynamic & interactive: -Built custom Card components -Styled them with CSS -Passed data with props(React 19 : defaultProps deprecated) Props = the lifeblood of reusable UIs #ReactJS #100DaysOfCode #WebDevelopment #FrontEnd
4
128
#LSPPDay47 Today I implemented PropTypes and defaultProps in my React project. Took me a while to realize prop-types isn’t built-in (rookie mistake ), but once installed, it felt powerful to catch type issues early. @lftechnology #LearningWithLeapfrog #60DaysOfLearning2025
1
8
74
#LSPPDay46 Time didn't favour me today, didn't get to code, but dived deep into PropTypes and defaultProps in React. Made handwritten notes today. @lftechnology #LearningWithLeapfrog #60DaysOfLearning2025
1
4
61
#LSPPDay3 Today I learned how to style components using external CSS, CSS modules, and inline styles. Also got into PropTypesand defaultProps — super handy for writing reliable, reusable components. @lftechnology #60DaysOfLearning2025 #LearningWithLeapfrog
3
54
I dug into the @framer Workshop AI agent prompts they use under the hood and found some interesting things. "NEVER EVER USE ComponentName.defaultProps. ALWAYS use defaultValue on the property control instead." What is the reason behind this decision? Is this a preparation for React 19, where .defaultProps were deprecated?
1
15
889
8 May 2025
昨天从 AI 那里学到的奇计淫巧。可以通过设置 name 属性传递初始化数据给 iframe - URL 参数传递会重新加载页面 - 直接设置 data-xxx 属性要求 iframe 和容器同域 - post message 会有加载时机的问题 - 如果期望达到 defaultProps 的效果,name 是很好的选择。
1
2
7
622
Day 1 of public learning: •React: props, propTypes, defaultProps •TypeScript: basic types •C : classic loop-based patterns Focusing on consistency, not perfection. #BuildInPublic #100DaysOfCode #DevJourney
3
123
*propTypes, not defaultProps
1
82
The historical reason for this is so it could strongly type React props (defaultProps). It's pretty wild that it works and show how far TS has come - they wouldn't bend the compiler to support a framework these days
2
8
369
How to Pass Props in React? ✅ Define props in parent: <ChildComponent name="React"/> ✅ Access in child: props.name ✅ Use defaultProps for fallback values Step-by-step guide here: crsinfosolutions.com/how-can… #ReactJS #FrontendDevelopment

1
3
15
props, propTypes & defaultProps
1
4
127
28 Sep 2024
if i recall correctly, it was specifically to support things like defaultProps and propTypes
2
56
Replying to @RomanSndlr
API is super in flux, it's just called DefaultProps because it's for the default export Probably should be something like RouteProps or something, but this code is so fresh we haven't even had time to bikeshed it
1
3
557
✔️Use defaultProps to provide default values and prop-types for type checking. ✔️The children prop allows you to pass nested elements or components. ✔️Be mindful of performance when passing large data or functions as props.
1
3
51