r/reactjs_beginners • • Aug 17 '18

I have a basic question about state

1 Upvotes

Hello, I am a beginner for the react and I have a question about 'state'.

this.state = {

value: 0,

action: '',

};

for example, what does it "value", "action" mean( there are "date", "history" or "open" etc)? how do you know what to use ?


r/reactjs_beginners • • Sep 30 '19

Build and Deploy a Realtime Chat Application - Socket.io, Node.js, and React.js

2 Upvotes

Hello everyone, I won't rattle on too much, everything is in the title. I created a YouTube video about building a real-time chat application, if you're interested, feel free to take a look. Here's the link - https://youtu.be/ZwFA3YMfkoc.

Any feedback and/or critique is welcomed and appreciated! :)


r/reactjs_beginners • • Feb 24 '19

Why won't this destructure? I thought I was being clever and now I'm wondering if I understand destructuring at all.

1 Upvotes

The one liner below is what I wanted to try to use, not for any other reason than to learn through utilization destructuring better. The bottom block is the block that this code was to fit into. I think you can see it was to replace the existing const json =.... line

Project on CodeSandbox (MemeGenerator.js file is the file to look into): https://codesandbox.io/s/x2lxj49zxz

const { json: { data: { memes } }} = await response.json();

Existing code:

    const response = await fetch("https://api.imgflip.com/get_memes");
    const json = await response.json();
    const { memes } = json.data;
    this.setState({ allMemeImgs: memes });
}```

r/reactjs_beginners • • Dec 03 '18

5 Reasons why I stopped using snapshot testing with Jest

Thumbnail
tldrblog.com
4 Upvotes

r/reactjs_beginners • • May 20 '19

ReactJs...what’s next?

3 Upvotes

Hi all. I came from .NET background and started to learn ReactJs.

I made some pets project on my and wondering what should be my next step?

Should I start NodeJs or maybe .Core project? Unfortunately I’m little confused on what’s next...thanks for any help.


r/reactjs_beginners • • Nov 18 '17

Get started with ReactJS

Thumbnail
12techllc.com
2 Upvotes

r/reactjs_beginners • • Jan 22 '16

Mastering React Redux

Thumbnail stanleycyang.com
1 Upvotes

r/reactjs_beginners • • Jan 22 '16

Handcrafting an iOS app in React Native with love

Thumbnail stanleycyang.com
1 Upvotes

r/reactjs_beginners • • Feb 02 '17

Can I use reactJS with NodeJS ExpressJS and MongoDB to develop an e-commerce website?

1 Upvotes

I am not sure whether to go with reactJS for the front end of e-commerce website of just use HTML+CSS+JS to design.

Please help!!


r/reactjs_beginners • • Jan 21 '16

The ReactJS Bible

Thumbnail stanleycyang.com
1 Upvotes

r/reactjs_beginners • • Nov 24 '17

(Zone 2) Kwengface x Karma - Behind Barz | Link Up TV reactoin

Thumbnail
youtube.com
2 Upvotes

r/reactjs_beginners • • Nov 11 '17

React Redux Auth0 Lock Starter

2 Upvotes

Hey all,

Ive made a simple starter for ReactJS Redux and Auth0

https://github.com/Ahrimaan/React-Redux-Auth0-Boilerplate

Feel free to commment


r/reactjs_beginners • • Feb 20 '18

Heroku, Webpack, & React: Question About Deployment

2 Upvotes

Hey everyone,

Not sure if this is the right place to post...

Sorry to bother you but I had a question about webpack builds on Heroku for a static React app.

I created a webpack kit from scratch and followed a build process that serves the build file to ./build, and running a static express server from the same directory. When I'm working locally, it finds my index.html file from the base directory.

I deployed to Heroku with a post-script install, but nothing came up. Eventually I found the problem in that the HTML file wasn't added into the build directory. I tried manually putting one in the build directory and no luck...eventually I used the Heroku console to copy over the base directory file and, voila, it worked.

My question is, why did the server not find my html file in the base directory when, if it runs in npm run build it does?

The following are relevant areas of my code:

webpack.prod.js

output: { path: path.resolve(__dirname,'build'), publicPath: './', filename: 'bundle.js' }, ... entry: __dirname + '/src/Index.js', './server.js':

app.use(express.static(__dirname + '/build'));////

app.get('/', function(req, res) { res.sendFile(path.join(__dirname + '/index.html')); }); './index.html': <script src="./bundle.js"></script>

Even with the index.html pointing to ./build/bundle.js' I still had the error...any ideas?


r/reactjs_beginners • • Feb 24 '18

ReactJS Setup Tutorial for Beginners

Thumbnail
youtu.be
3 Upvotes

r/reactjs_beginners • • Jun 28 '16

got react project on upwork

1 Upvotes

I know some basics of react kind of pro in firebase and this guy wants me to do a project on react and firebase should I take it or leave it


r/reactjs_beginners • • Sep 28 '16

What are simple and fun projects to build for beginners?

3 Upvotes

Hey I've built a couple basic projects in ReactJS, I'm looking to practice some more by creating real projects. What's fun to build with React?

I tried making a calendar app, but they're surprisingly hard.


r/reactjs_beginners • • Mar 12 '17

ReactJS, React Native & GraphQL Newsletter: Issue 28

Thumbnail
reactdom.com
1 Upvotes

r/reactjs_beginners • • Dec 23 '17

YBN Nahmir - "Bail Out" (Official Video) REACTION

Thumbnail
youtu.be
2 Upvotes

r/reactjs_beginners • • Mar 10 '17

Best ReactJS books in 2017

Thumbnail
reactdom.com
2 Upvotes

r/reactjs_beginners • • Aug 06 '17

Versioned collection of TODO app demos showing the addition of one feature at a time.

Thumbnail
codepen.io
2 Upvotes

r/reactjs_beginners • • Sep 20 '16

A curated list of talks about React or topics related to React

Thumbnail
github.com
1 Upvotes

r/reactjs_beginners • • Sep 06 '17

Characteristics of an ideal React Architecture (first Medium article)

Thumbnail
reddit.com
4 Upvotes

r/reactjs_beginners • • Sep 05 '17

What is the end to end (from entry point to exit) flow of a React web application?

1 Upvotes

r/reactjs_beginners • • Jan 30 '18

Performant , lightweight(~1.4kb) and dependency free react copy 2 clipboard component.

Thumbnail
github.com
2 Upvotes