Comments (6)
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.
@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.
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.
Is there anything else that needs to be done here? I'd be happy to finish it.
from react.dev.
@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.
It would be really helpful to see an ES5 example that uses functional components.
from react.dev.
Related Issues (20)
- [Suggestion]: Add `isPending` example to `useActionState` docs HOT 1
- [Bug]: Error Boundaries Caveats are not added in the new docs
- [Bug]: Code editor not displaying code when scrolling
- [Typo]: In Sharing State Between Components HOT 2
- [Typo]: Spelling Mistake in Resource and Metadata Components
- [Suggestion]: Adding a Scroll-To-top Button .
- .
- Link to React 16 documentation (https://16.react.dev/) is redirecting to React 17 documentation. HOT 3
- Some recommended alternatives to useEffect are less declarative and concise
- useState
- not open the page HOT 1
- Error in section "What happens if you replace state after updating it" explanation of code execution HOT 5
- [Mistake]: React 19 says that startTransition callback must be synchronous. It is not true. HOT 1
- React Fiber documentation not present in the current Docs
- [Bug]: ERR_SSL_PROTOCOL_ERROR on Translations Page
- [Suggestion]: Update the starter code in sandbox of Tic tac toe game tutorial
- [Suggestion]: Improve code in Tic-Tac-Toe demo HOT 3
- [Suggestion]: How to avoid null checks when initializing useRef later
- Doc not found: https://react.dev/contributing/design-principles.html
- [Bug]: No Mention of RFCs (or ANY Way to Provide Feedback) on Site HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.dev.