Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thoughts on contributing an updated version of the React example #2231

Open
jagretz opened this issue Jan 9, 2024 · 0 comments
Open

Thoughts on contributing an updated version of the React example #2231

jagretz opened this issue Jan 9, 2024 · 0 comments

Comments

@jagretz
Copy link

jagretz commented Jan 9, 2024

tl;dr: I'd like to update the current version in the examples for React by creating a version that utilizes the latest syntax and features (ie. context & hooks).

Background: I was helping a junior developer learn some React and navigated here to show how to build a todo app using React and noticed the current version is outdated and isn't an example I'd want them spending time on. It wraps the components in IIFEs and uses class-based react component instantiation (componentDidMount, etc.). I do see a version under /examples/react-hooks which at least utilizes hooks, but the dev had trouble installing it with the current version of node & npm. I also noticed that was also 4+ years old.

I'd like to help contribute an updated version of the React example that utilizes the latest features. I've read through the contribution guidelines and have no problem helping to maintain this example in the years to come.

TodoMVC has helped me to learn unfamiliar tech in the past, and I'd like to pay that forward by providing an up to date example using React. Let me know if this is possible or needs more discussion. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant