Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
r/reactjs iconr/reactjs icon

r/reactjs

members
online
Best
Open sort options
Change post view

Community highlights

  • React 19.2 released : Activity, useEffectEvent, scheduling devtools, and more

    acemarke votes • comments
  • Code Questions / Beginner's Thread (October 2025)

    acemarke votes • comments

  • Naming all files as index.jsx Naming all files as index.jsx
    Discussion

    Is an antipattern.

    It is confusing when you have lots of files open and it doesn't add any real benefits.

    On top of that when you run LLM's in VS Code you don't know which file it read as they are all called the same.

    This is bad practice and it should die but people stick to it from fanaticism.


    u/getsentry avataru/getsentry
    OfficialPromoted
    What if we told you that you didn’t have to ship bugs? 🙂‍↕️ Try AI Code Review and see fewer errors make it to production.
    What if we told you that you didn’t have to ship bugs? 🙂‍↕️ Try AI Code Review and see fewer errors make it to production.

    sentry.io
    Learn More

    Coinbase Design System is now open source
    realtime reactjs app realtime reactjs app
    Discussion

    was playing around withhttps://letsjam.pages.dev/ (a reactjs app) that has websockets enabled that allows you to play around with multiple other people realtime. I wonder how the updates are happening? would it have a store like zustand that enables the socket messages throughout the app? or would context actually work in this case? how to go about with sockets + state management in a realtime react app without it bothering other elements in the page (with the sockets being hyper interactive)?


    Created Dec 31, 2013
    Public

    Anyone can view, post, and comment to this community

    192K1.6K



    r/reactjs Rules

    Be kind to your fellow human. There’s no need to be mean or rude, keep unstructured critique to a minimum. When providing help, answer their question before making stylistic or tool suggestions.

    We all started somewhere, and we're all allowed to be who we are. We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, neurodivergence, race, ethnicity, physical attributes, religion, nationality, or other aspect of identity.

    reddit has a long history of intentionally offensive usernames, but not here. Names that detract from a friendly, safe and welcoming environment for all will be addressed.

    Every design or implementation choice carries a trade-off and numerous costs. There is seldom a single right answer, and there are valid reasons to choose between a range of tradeoffs between tools, approaches, and patterns.

    If you join this community to take value rather than contribute, the community will quickly react as though you are an intruder. If you have a body of content you'd like to promote, our recommended way of doing so is to be an active and positive member of the subreddit. If someone has a question that you've created an external answer to, we'd love if you share it! Please review the sidebar for a complete list of guidelines.

    6

    Guidelines: Needs code

    7

    Guidelines: Portfolio Sunday

    8

    Guidelines: Original works

    9

    Guidelines: AI

    10

    Guidelines: Career

    11

    Guidelines: Commercial activity


    Sidebar

    About:

    A community for learning and developing web applications usingReact by Facebook.

    Interested in building mobile apps using React Native? Check out/r/reactnative!


    Code of Conduct

    If you believe someone is violating the code of conduct, please report the post or message, orcontact the mods.

    1. Please be kind and courteous, friendly and professional

    Be kind to your fellow human. There’s no need to be mean or rude, keep unstructured critique to a minimum. When providing help, answer their question before making stylistic or tool suggestions.

    2. Harassment will not be tolerated

    We all started somewhere, and we're all allowed to be who we are. We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, neurodivergence, race, ethnicity, physical attributes, religion, nationality, or other aspect of identity.

    3. Avoid using an alias or display name that might be offensive

    reddit has a long history of intentionally offensive usernames, but not here. Names that detract from a friendly, safe and welcoming environment for all will be addressed.

    4. Respect that people have differences of opinion

    Every design or implementation choice carries a trade-off and numerous costs. There is seldom a single right answer, and there are valid reasons to choose between a range of tradeoffs between tools, approaches, and patterns.

    5. Posts must conform to our guidelines

    If you join this community to take value rather than contribute, the community will quickly react as though you are an intruder. If you have a body of content you'd like to promote, our recommended way of doing so is to be an active and positive member of the subreddit. If someone has a question that you've created an external answer to, we'd love if you share it!

    1. Demo videos must be accompanied by source code, preferably in a runnable environment like Codepen, CodeSandbox, Replit, Glitch, etc.
    2. Please save portfolios for the weekly Sunday portfolio post.
    3. Posts should be original works.
      • Please do not dump raw AI output as a post or comment. If you share something from an AI, please also include which service it came from as well as an original thought, like why the response is trustworthy or details about how you prompted.
    4. This subreddit is focused on technical discussion of React, for career discussion check out/r/cscareerquestions or#jobs-advice in Reactiflux.
    5. Avoid commercial activity./r/reactjs follows theReactiflux policy on commercial activity.
      • This is a community, not a free audience. This is not a place for prominent commercial activities such as recruiting, lead generation, marketing, market research, or other solicitation, except in posts dedicated to that purpose.
    6. If the question is primarily "how do I make this code work?", please post it in the monthly "Beginner's Thread", or ask in the help channels ofthe Reactiflux Discord

    New to React?


    Chat

    reddit is a great format, but sometimes you need to chat in real time.Reactiflux is our recommended Discord community.

    Project Ideas

    Get Your Next Project Idea Here

    Jobs

    Like building things? People want to pay you to build things!Join Reactiflux and check out #job-board (andthe rules!)


    Outside Reddit


    Related Subreddits


    Moderators

    View all moderators

    [8]
    ページ先頭

    ©2009-2025 Movatter.jp