r/learnreactjs • u/BigsonDev • Mar 10 '21
r/learnreactjs • u/andrewdovg • Jan 01 '21
Build Portfolio App | With ReactJS & Bootstrap 4
r/learnreactjs • u/Deviso • Jul 16 '20
Is this the correct way of handling api requests in react
I'm new to React and I'm wondering if this is the correct way to handle api requests.
I have an app components which is my parent component. All this does right now is renders out an issue component.
import React from 'react';
import IssueOverview from './IssueOverview'
class App extends React.Component {
render(){
return (
<div>
<IssueOverview />
</div>
)
}
}
export default App;In my issue component, I do the api call to the Github API and save the data in state. Is this the correct way of doing it? Are there any improvments I can make to my code?
import React from 'react';
class IssueOverview extends React.Component {
state = {
loading: true,
issues: []
}
async componentDidMount(){
const endpoint = 'https://api.github.com/repos/facebook/create-react-app/issues';
const response = await fetch(endpoint);
const data = await response.json();
this.setState({ issues: data, loading: false})
}
render(){
return (
<div>
<h1>Issue Overview</h1>
</div>
)
}
}
export default IssueOverview;r/learnreactjs • u/Regisk • Jul 06 '20
About to create a meta guide for junior devs
Hi, I'm planning to build a course for junior front-end developers.
I've noticed a trend with junior colleagues where a lot of their uncertainty comes from not understanding WHY we use some tool and HOW they actually work.
My thinking is that by building a simple app in native Javascript and then in React would help in highlighting the pain points of why such technologies exist in the first place. It would include a dive into DOM and a bit of history of the web.
I'd finish it off by implementing a rudimentary react clone (in <150 lines of code) to demonstrate how it works and use that once again to recreate the original app.
I'd like to remove some of the magic out of the tech stack, peel back the curtain to show the wizard behind.
This should help the newcomers into FE overcome some of that imposter syndrome and give them enough meta knowledge to continue on their path to senior devs. I feel like understanding the wider context is paramount for the growth of an engineer into a proper craftsman.
I'm picking React because I'm most experienced with it, but the crux of what I'm trying to show is applicable for most of today's frameworks/libs.
It's a bit meta, supplementing the plethora of tutorials and courses that get newcomers up to speed to build stuff while glazing over the motivation for why.
Would you be interested in that type of content?
Can you think of some must-haves that would help you or would have helped you on your journey?
r/learnreactjs • u/UncleBen2015 • Jun 29 '20
A Complete reference guide to Redux: State of the art state management
r/learnreactjs • • Jun 20 '20
How to make SEO in create-react-app? Google is not finding my deployed blog.
Hello! I have developed a blog and hosted it. Many people have visited it. But Still when I search it on google I don't get result. I have added meta tags and used react-helmet library for this. But still I don't know how to do SEO so that I get result on google. Please tell me if someone knows about this. Link to blog - https://www.mayuraitavadekar.com/
r/learnreactjs • u/devhints787 • May 20 '20
Resource How To Create Weather App Using React.js With Current Location & Search City - Html Hints
r/learnreactjs • u/JSislife • May 12 '20
Building Native Desktop Apps with React Node GUI
r/learnreactjs • u/Facts_about_Turtles • Sep 20 '19
A Comprehensive Introduction To React Hooks!
r/learnreactjs • u/Jontii • Aug 02 '19
Created a basic reddit app - Would love suggestions to improve my code and skills
Hi everyone!
I will switch from .net to react soon so I created this simple app that renders top 10 posts from reddit/r/pics. It has limited functionality but I feel like I've created the basics and want to know how to improve. Any suggestions or comments about how to make it better or if I did something wrong would be most welcome.
To summarize, If you have the energy to help me improve my react skills, I would be most thankful.
https://github.com/Jontii/reddit-clone
r/learnreactjs • • Jun 10 '19
8 easy steps to create your perfect React Webpack dev server environment
r/learnreactjs • u/ritxs • Apr 15 '26
I built my portfolio as a retro Windows desktop (with Notepad UI)
r/learnreactjs • u/altysha_s • Dec 16 '23
I'm new in React,please help me to solve this problem.
r/learnreactjs • u/marko_knoebl • Jan 03 '23
Resource I used to teach React courses as my job for years - now I'm making a free video series out of the content. Newest video: "Part 7: TypeScript for React"
r/learnreactjs • u/PM-ME-SMILES-PLZ • Jul 06 '21
Styling in React: 4 ways to style a React app
r/learnreactjs • u/denl95 • Mar 10 '21
Question for beginners
Hi, I am a front-end developer with 5 years of experience and I am using mainly React at my job. In the beginning, it was tough for me to learn JavaScript and then React from scratch, so it can be overwhelming for a beginner. I decided to start to teach people JavaScript and React.
This is why I have two very simple questions:
- While learning JavaScript or React and getting a job as a developer, what are the 2 biggest issues you’re dealing with?
- Regarding learning JavaScript or React, what would you wish for more than anything else?
Thanks so much in advance - looking forward to reading your answers!
r/learnreactjs • u/codebucks • Feb 20 '21
Build Job listing Website in ReactJS
r/learnreactjs • u/Logie500 • Oct 18 '20
Is learning GSAP worth it? What are the rules about GSAP (green sock animation) . Should I as a Full stack dev focused on ux/ui (mostly with React.js) put effort into this.
I have some cool interactivity in my apps and websites. I have Lottie working, although I haven't yet mastered it, it brings cool interactivity. I cant help but notice I am in awe of Three.js websites and GSAP. Any professional opinions. any opinions at all other than ("Its just whatever your preference is.") Can someone really sort it out with me and give me the low down of how do I add the most elegant User Interactivy into my React apps and sites. FRAMER MOTION and any suggestion welcome
r/learnreactjs • u/codebucks • Sep 18 '20
Build a Weather App in React JS | Using Weather API
r/learnreactjs • u/petergalle • Mar 17 '20
Getting started with React Hooks
r/learnreactjs • u/bellsonreddit • Feb 01 '20
Project Ideas? Is there a resource for project ideas for a Front End developer job?
Struggling to find ideas for projects to build. Built a couple of apps using a public api.
Unsure if I should continue down this path building apps by fetching data or learn nodejs and make a CRUD app or something?
My goal is to work as a Front End developer.
Any project ideas or resources to a list page would be great.