GithubHelp home page GithubHelp logo

Comments (5)

webveloper avatar webveloper commented on June 26, 2024 108

While I appreciate the humor, I see two reasons to consider changing this:

First, it's inefficient. It's a very long variable name that isn't replaced during minification, so it's technically wasting bandwidth. Not much, of course, but when else in programming would you intentionally do something less efficient for no apparent gain? __SECRET_DOM would be 72.7% smaller. If there really is a problem with developers using it, __SECRET_DOM_DO_NOT_USE would be 47.7% smaller. Even at a small scale, I couldn't pass up that kind of savings.

Second, if someone considering employment with a company views that company's source, sees that variable name, and thinks it's something the company added themselves... maybe not so great.

from react-lite.

desarrollador-lata13 avatar desarrollador-lata13 commented on June 26, 2024 5

Hi, I am new in this app.

from react-lite.

Lucifier129 avatar Lucifier129 commented on June 26, 2024

haha, this is ReactDOM, copy from react source code, see this link
https://github.com/facebook/react/blob/master/src/React.js#L67

from react-lite.

capaj avatar capaj commented on June 26, 2024

Lol.

from react-lite.

alexander-grube avatar alexander-grube commented on June 26, 2024

lol

from react-lite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.