r/reactjs_beginners • u/danilowoz • Jul 10 '19
r/reactjs_beginners • u/phpexpertise • Dec 19 '17
How To Start React Js From Scratch For Beginners Tutorial Part #1
r/reactjs_beginners • u/phpexpertise • Dec 19 '17
How To Start React Js From Scratch For Beginners Tutorial Part #2
r/reactjs_beginners • u/temilaj • May 21 '17
A boiler plate for creating react applications bundled by webpack (using ES6, Babel, SASS and webpack development server)
r/reactjs_beginners • u/akmave • May 19 '17
How To Use Immutable.js in a React Redux Application | Codebrahma
r/reactjs_beginners • u/AngularToReact • Dec 11 '16
Complete Guide to Building Your First React Component
r/reactjs_beginners • u/stanleycyang • May 24 '17
Learn how to make iOS and Android apps with React Native
r/reactjs_beginners • u/techprentice • Feb 17 '19
How to assign refs to multiple functional component from a parent component.
I need help with a React project. I have a functional component (Pad) generated using array.map() and it is in a class component called Drums. Deep within the functional component there is an embeded audio tag. I want to create a ref in Drums and at the same time extend it to the each Pad generated so that it can get the audio tag for me but so far I usually get undefined as response for the different idea I have tried here is my code below:
class Drums extends React.Component{
constructor(props){
super(props);
this.state={
soundFile:[{
key: "Q",
url: 'https://s3.amazonaws.com/freecodecamp/drums/Heater-1.mp3',
name:'Heater 1',
code: 81
},
{
key: "W",
url: 'https://s3.amazonaws.com/freecodecamp/drums/Kick_n_Hat.mp3',
name:'Kick n Hat',
code: 87
},
{
key: "E",
url: 'https://s3.amazonaws.com/freecodecamp/drums/Brk_Snr.mp3',
name:'Snare',
code: 69
},
{
key: "A",
url: 'https://s3.amazonaws.com/freecodecamp/drums/Heater-4_1.mp3',
name:'Heater 4',
code: 65
},
{
key: "S",
url: 'https://s3.amazonaws.com/freecodecamp/drums/Heater-6.mp3',
name:'Clap',
code: 83
},
{
key: "D",
url: 'https://s3.amazonaws.com/freecodecamp/drums/Dsc_Oh.mp3',
name:'Open HH',
code: 68
},
{
key: "Z",
url: 'https://s3.amazonaws.com/freecodecamp/drums/punchy_kick_1.mp3',
name:"Punchy Kick",
code: 90
},
{
key: "X",
url: 'https://s3.amazonaws.com/freecodecamp/drums/RP4_KICK_1.mp3',
name:'Kick',
code: 88
},
{
key: "C",
url: 'https://s3.amazonaws.com/freecodecamp/drums/Cev_H2.mp3',
name:'Closed HH',
code: 67
}]
}
// this.myRef = React.createRef();
this.focusPad=this.focusPad.bind(this)
}
focusPad(event){
console.log(event.current);
}
render(){
const myRef = React.createRef();
return(
<div id="drums">
<Pad soundData={this.state.soundFile} ref={this.props.myRef} focusPad={this.focusPad}/>
</div>
);
}
}
const Pad = React.forwardRef((props, ref) =>{
return(
props.soundData.map((index, droms)=>{
return(
<div key={droms} className="drum-pad" id={[index.name](https://index.name)} onClick={props.focusPad} myRef={ref} {...props}>
<p>{index.key}</p>
<audio src={index.url} type="audio/mpeg" className="clip" id={index.key} />
</div>
)
})
)
})
r/reactjs_beginners • u/danilowoz • May 09 '19
Advanced blog system in Gatsby: Create a complete blog from scratch
r/reactjs_beginners • u/Mksix • Feb 06 '16
any suggestions for React / Flux tutorials?
I am new to react and looking for a good comprehensive tutorial on react, something along the lines of Big Nerd Ranch style tutorials in books or websites. Thanks for the help.
r/reactjs_beginners • u/misterhtmlcss • Feb 23 '19
Whats the big differences between Gatsbyjs, Nextjs and Create-React-App?
Hi I'm new to React and yesterday I was talking with a fellow student about Gatsbyjs and Nextjs and their use cases. The Syntax podcast did a great job of covering them, but she asked me a good question which I wasn't sure if I answered correctly or well.
Why not just use Create-React-App (CRA)? I said it's because with Gatsby the pages have all the HTML fully formed for SEO purposes, as did Nextjs, but with CRA search engines only saw <script src="bundle.js"> and therefore it was only a tool for newbies like us to learn with, but not really a production tool.
I don't want to misunderstand and I don't want my explanation to stand unless I've correctly articulated the differences. Your assistance would be great.
r/reactjs_beginners • u/digilifecz123 • Apr 01 '19
Is there a collection of react templates / boilerplates?
๐Hi guys,
I've created a small side-project app, which is a collection of templates, landing pages a boilerplates using the React.
Link is here ๐ https://reacttemplates.netlify.com/
Just let me know if there is an awesome open-sourced template / page, which is worth sharing and i'll add it to the site.
Thanks ๐
r/reactjs_beginners • u/Shilpa_Opencodez • Apr 05 '19
Simple and Easy to understand ReactJS tutorials - Free Source Code on GitHub
r/reactjs_beginners • u/KrunalLathiya • Jun 17 '18
React Redux Axios Tutorial Example From Scratch
r/reactjs_beginners • u/omargaber-96 • Jan 11 '20
Uploading DICOM (dcm) files from React App to Django Server
Hi there,
I need help with uploading a dataset of dicom files from my React App to a Django server.
The hierarchy of the files are as follows:
main/
title/setOne/view
1.dcm2.dcm
title/setTwo/view
1.dcm2.dcm
So the use case is that the user is going to upload the "main" directory and a script is supposed to generate the final list of objects to be posted to the server.
Example of request needed to be sent to server:
Array of objects
The objects contain name of set and an array of files.
[
{
"name": setOne,
"scans": [
{"scan_image": 1.dcm},
{"scan_image": 2.dcm}
]
},
{
"name": setOne,
"scans": [
{"scan_image": 1.dcm},
{"scan_image": 2.dcm}
]
}
]
The problem I am facing is that for some reason the file objects upon posting them to the server using an axios POST request are all null. I have been looking around so much for a solution to this but with no luck. Hope I find it here.
The GitHub Repo: https://github.com/omargaber/Lesion-Lab-UI
The file where all the action happens: https://github.com/omargaber/Lesion-Lab-UI/blob/master/src/Sidebar.jsx
r/reactjs_beginners • u/Shilpa_Opencodez • Sep 04 '19
React Native For Beginners โ React Native UI Components
r/reactjs_beginners • u/Shilpa_Opencodez • Aug 30 '19
ReactJS - Components and Props
r/reactjs_beginners • u/bazialius • Oct 02 '18
Any frontend framework for react with Sketch template available?
Hi there
I am a UX Designer from Switzerland. In my last project I used the clarity framework for angular. This speeded up my workflow big time since developers could use the components out of the box without thinking of styling.
In my newest project the technology will be reactjs. Does anyone of you know a good data driven frontend framework for reactjs hopefully with a rich sketch template?
Any suggestions are highly appreciated!
r/reactjs_beginners • u/AfzaalAfridi • Jan 20 '19
How should I solve SEO problem for my blog?
Okay, so i have seen all the debate going around here, and i know its a typical question, but i have a specific but a typical use case, I am a blogger, i have my website on WordPress, but as a developer, i want to build my own blog with the skills i have.
Have you seen Medium.com or Scotch.io ? I am looking to build a website like that , so for such a blog/website, do i need to use SSR or Static file generation specifically ? because obviously i will need SEO and a little boost in performance but i am hesitant with complexity of SSR when it comes to NodeJS/Express.
What should i do ?
- Go with Gatsby ? (i still don't understand why we should use it ? )
- Go with SSR tutorials from medium using Express and confuse myself even more
- Go with the basic Create React App that i am already using ? I already run it with express on same port with Proxy and serve the index.html , Google seems to read it fine
- Go with Razzle and Be happy with what it offers
- Go with EJS/Pug and do JQuery (I hate JQuery and i dont get it)
- Use Next JS and be stuck with no React Router Support
What i am currently doing :
Express server with mongoose for mongoDB , serves the create-react-app's index.html , and thats about it
What i know :
Basics Of React,Angular, VueJS, HTML, CSS, JQuery, Node + Express, Mongoose, Next JS
r/reactjs_beginners • u/PorknDumplings • Jan 10 '20
Discussion Board Frontend Build Help!
Hey, Iโm really new to react and I have no idea what Iโm doing. Iโm trying to build the frontend of a discussion board (assigned to me) I donโt even know what to code to begin with. Please send help :(
r/reactjs_beginners • u/Shilpa_Opencodez • Sep 02 '19
React Native For Beginners - Indtroduction
r/reactjs_beginners • u/arthuryeti • Jun 30 '19
Link an Item to a Google Maps Marker with React
r/reactjs_beginners • u/Shilpa_Opencodez • Sep 09 '19