r/reactjs • u/jimmyloi92 • Feb 12 '21
r/reactjs • u/camouflage365 • Dec 02 '21
Meta Coding Interview with Dan Abramov
r/reactjs • u/rsbohler • Nov 30 '20
Show /r/reactjs What the filter? A visual playground to JS array & object transformations
r/reactjs • u/typicalmitul • Dec 08 '20
Show /r/reactjs My first big React project! Paprback, a showcase for your bookshelves | Next JS, Chakra UI, Ruby
r/reactjs • u/DavidP86 • Oct 21 '20
Show /r/reactjs I created a free landing page template using React and Tailwind CSS
r/reactjs • u/Xiy • Sep 16 '20
Resource Building a Netflix Clone - Styled Components - Compound Components - Firebase (Firestore & Authentication)
r/reactjs • u/swyx • Mar 01 '20
News React has been around as long as JQuery was when React came out (2468 days)
r/reactjs • u/mbj16 • May 06 '23
Meta It’s painfully obvious there is a lack of understanding for the very basics of React
This is in response to the “Why useEffect for localStorage?” thread. A perfectly reasonable question for a beginner with awful, terrible, over explained answers.
The simple, correct and only answer is that RENDER HAS TO BE PURE. What does pure mean?
When your component is called with the same props, state and context it has to evaluate to the same output. If your component is reading from localStorage it very obviously will evaluate to different values depending on what’s in localStorage, this is a no-no.
So what do we do? Side-effects aka localStorage, api calls - anything that’s not controlled by React, 99% of the time, goes into either an event handler if appropriate (onClick, onSubmit, etc), or useEffect, the hook designed for side effects.
Understanding that React components must be pure functions (EDIT: Semantic edge-lords are very upset at the use of "function") that output the same value when called with the same arguments, and developing with this in mind will solve almost all of your frustrations with React.
Thank you for coming to my ted talk, and for the love of god please brush up on the basics of the technology you use (not aimed at beginners, but those giving the advice).
r/reactjs • u/acemarke • Oct 22 '21
News New React Docs beta is live! Covers function components, hooks, rendering, state updates, and other key concepts
r/reactjs • u/DalkerKD • May 09 '21
Portfolio Showoff Sunday I made a simple reddit clone using React/Redux, Node.js, and PostgreSQL
r/reactjs • u/Tayk5 • Apr 02 '18
This YouTuber (Ben Awad) has been posting videos on React, PostreSQL, GraphQL, Apollo and more for about 3 years. His recent series on React and GraphQL was 73 videos long a day well over 15 hours of material. His channel deserves more views guys
r/reactjs • u/WellyShen • May 19 '20
Resource ✨ Introducing react-cool-dimensions: React hook to measure an element's size and handle responsive components. (GitHub included)
r/reactjs • u/therealzenzei • Apr 05 '21
Show /r/reactjs Stickley - An online post it board - Made with React, NextJs, Tailwind and Firebase. Link in comments
r/reactjs • u/ConsoleTVs • May 20 '23
Discussion Am I the only one that thinks that the direction of React is wrong?
Do not take this post as an attack, this is a genuine question. Be respectful.
So, I'm wondering if other people start feeling the same way as I do in regards its vision and direction. Overall, over the last couple of years I've noticed strange behaviours in React's direction. Here's my resonable notes:
Use of raw string statements like "use client" or "use server" in your code base.
Throwing Promises for concurrent rendering. At what point do we think throwing anything other than Errors is fine?
Monkey patching global functions like
fetchto accomodate for React's need.Different behaviour in dev / prod for useEffects (double rendering in dev). It's the first time in my career I see a system that works differently on dev/prod by design.
Suggest everybody to use frameworks like Next or libs for data fetching.
Ignore DX and potential performance improvements by using signals. Any other major framework has them at this point, even preact and angular.
Still huge payload after all those years.
Still underperforant compared to any competition.
use(promise) in future versions to block a promise vs await promise.
If we put the ecosystem (that is perhaps the best of react atm) and the popularity aside, what advantages do you all see to it? It seems to be the direction is not good. Feels like React is playing his own game by his own rules.
r/reactjs • u/vertigo_101 • Apr 17 '22
Portfolio Showoff Sunday v5 of my portfolio with Next.js (open-source)
r/reactjs • u/wobsoriano • Nov 04 '20
Show /r/reactjs Made a simple visualization of the 2020 US presidential election
r/reactjs • u/skramzy • Aug 19 '22
Show /r/reactjs I built an app that captures the color hex code of whatever you point your camera at, and generates color palettes for it
r/reactjs • u/Previous_Influence_8 • Dec 23 '21
Show /r/reactjs Im 19 and wanted a straight forward web-app to track my habits in 2022. So I created one that fits to my minimalist requirements (Link in comments)
r/reactjs • u/_kushagra • Jan 09 '21
News Jordan Walke - original author/creator of React leaves Facebook to start his own company
r/reactjs • u/TonyHawkins • Aug 04 '18
I made Apple Music using React, Redux, and Styled Components
r/reactjs • u/Guy676767 • Apr 18 '21