GithubHelp home page GithubHelp logo

Add ES5 example to Tutorial about react.dev HOT 6 OPEN

bvaughn avatar bvaughn commented on April 20, 2024
Add ES5 example to Tutorial

from react.dev.

Comments (6)

M-ZubairAhmed avatar M-ZubairAhmed commented on April 20, 2024 1

Hi,
i have made this simple gist & pen to demonstrate simple react without jsx or es6 by following similar approach of 'getting started with Vue.js" guide.
Is this something you are looking for?

from react.dev.

quadruplejump avatar quadruplejump commented on April 20, 2024

@M-ZubairAhmed that would've been helpful months ago :D Do you need the code in the JS panel of the pen? render is being called twice with no obvious reason why

from react.dev.

M-ZubairAhmed avatar M-ZubairAhmed commented on April 20, 2024

yes you are right I don't need one more render method. So does this solve the issue ? or should I include anything more.

from react.dev.

isaacsolo avatar isaacsolo commented on April 20, 2024

Is there anything else that needs to be done here? I'd be happy to finish it.

from react.dev.

brettdewoody avatar brettdewoody commented on April 20, 2024

@bvaughn Is this issue still in need of being completed? While I think some would find a non-ES6/JSX demo useful, it's now 2 years on since this issue was raised and ES6 is much more standard.

from react.dev.

davidbarratt avatar davidbarratt commented on April 20, 2024

It would be really helpful to see an ES5 example that uses functional components.

from react.dev.

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.