Комментарии:
This is kinda bs, I have basically the same code as you have. I had to use splice on expenses array otherwise using setExpenses would not trigger re-render. How is it possible that it works here and not in my code?
ОтветитьTo everyone who have this problem: setExpenses([...expenses, newExpense]) in my version of react doesn't trigger re-render. You can solve it by using push.
ОтветитьGreat video, I love your channel (from Brazil).
ОтветитьThank you!
Ответитьthank you doctor🥰
ОтветитьThis one was awesome sir!
ОтветитьAwesome. Wish you made more tutorials
ОтветитьTutorial yang bagus, salah satau tempat saya belajar react js di sini. Terima kasih udah berbagi.
ОтветитьVery well explained. hats off. I really enjoyed. Thank you.
ОтветитьI just tell you to thank you so much I"m very confusing for find react project
Ответитьthis video made me understand finally CRUD operations on react thanks
ОтветитьYou explained your design choices well and your process of building it from beginning was pretty thorough. Thanks for helping us all with this useful and somewhat quick project. Thanks. You've got a new subscriber in me
ОтветитьGreat tutorial! Your explanatory skills are just off the charts.
ОтветитьEverything was fine. But whenever initialExpenses use localStorage I get the following errors.
const initialExpenses = localStorage.getItem("expenses")
? JSON.parse(localStorage.getItem("expenses"))
: [];
Errors are below:
×
TypeError: Cannot read property 'amount' of null
(anonymous function)
D:/react-app/src/App.js:130
127 | <span className="total">
128 | $
129 | {expenses.reduce((acc, curr) => {
> 130 | return (acc += curr.amount);
| ^ 131 | }, 0)}
132 | </span>
133 | </h1>
View compiled
UUID seems to have changed I keep getting an error that says Module not found : Can’t resolve uuid/v4 any suggestions?
ОтветитьYou are an the best teacher
Ответитьvery helpful project to understand react.Thank you sir.
ОтветитьHi can i have github link for this code?
Ответитьthank you so much ❤
ОтветитьThank you, sir, for such a great list of tutorials, and also every tutorial is very well prepared. Thanks, again.:)
ОтветитьIf you get the error below about importing uuid,
you need to use this requirement
“ const { v4: uuid } = require('uuid'); “
instead of using this importing
“import uuid from "uuid/v4"; “
```
Failed to compile.
./src/App.js
Module not found: Can't resolve 'uuid/v4'
```
After fixing this, your project is gonna run and the error is gonna disappear.
uuid breaking change
import { v4 as uuidv4 } from 'uuid';
id: uuidv4()
Hi John Smilga, your tutorials are interesting when they are delivered with real time projects. I learn a lot watching your videos and they are very helpful. We look forward to deliver you more interesting tutorials on various front-end technologies.
ОтветитьIt's awesome! Thanks.
ОтветитьReally good an clear explanations, thanks a lot, awesome
ОтветитьThese videos are absolutely amazing, thank you so much good sir!
ОтветитьReally you are wonderful teacher. It helps millions to learn who are really not able to afford on education
Ответитьdoes Vintage Tech project has some sort API in the backend, if yes what platform and did u use Redux in this project ?
ОтветитьYou are great man
Ответитьcan we have a coupon for react coocktailDB project please ?
ОтветитьThanks, but I have a concern please. Why the ExpenseForm component receive so many props? I think we can create the values and handlers in the same component ExpenseForm. What do you think?
ОтветитьHi I am using jhipster along with react to
I want to render table based on API response using axios
Any leads who could help would be appreciated
Thanks for sharing this amazing tutorial. I really appreciated it!
ОтветитьGood video, ty
ОтветитьIt would look definitely better if you write this app in TypeScript
Ответитьwhy dont we learn react from your tutorials :)) Excellent!
Ответитьthis is excellent.
ОтветитьIt was a great tutorial sir, thank a lot! I hope that you will upload more complex tutorials which are about hooks. :)
ОтветитьThank you for this great demonstration of project
ОтветитьThank you for this react project tutorial. I am learning a lot from it :)
ОтветитьYou are an excellent teacher
ОтветитьHello! I/m getting an Cannot read property 'map' of undefined error/warning please help
const ExpenseList = ({ expenses }) => {
return (
<>
<ul className='list'>
{expenses.map(expense => {
return <Item key={expense.id} expense={expense} />;
})};
</ul>
</>
);
};
Hi John,
Would you know a thing or two about Authentication and how to setup at Gatsby Auth project with Amplify, Auth0 or Firebase?
Keep up the good work.
at last i get how the useffect works thanks man
Ответитьhow long has it taken you too learn and master all what's on your playlist
ОтветитьThank you very much, for clean code. we are waiting for more projects sir : )
Ответитьdone
ОтветитьThis is Great thank you for making this quick little video.
ОтветитьEnjoying your videos! Keep them coming!
Ответить