to be honest, i followed your tutorial from the beginning, about the icons, i tried to display it in both ways , from the website. and the emulator, the icon displayed in the web (responsive mode) , but why it doesn't displayed in the emulator mode??
if you took warning message like that "error module 1 is missing from the asset registry" solution is that, npm i @react-native/assets-registry yarn version; yarn add @react-native/assets-registry write this code to your command line.
Add `value` prop to your `` component, as `value={text}` to bind the component with the current state. At the end of the `onPress` handler function for your `` component, set the input text state to empty, using `setText('')`.
You need to add a handlePress component and add it to your Button onPress. your addTodos.js should look like this... mail.google.com/mail/u/0?ui=2&ik=d72915211f&attid=0.0&permmsgid=msg-f:1668265849611511881&th=1726def38d026849&view=att&disp=safe
Try adding this at the end of your 'android/app/build.gradle': apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" Then import icons like this (no curly braces): import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
The Net Ninja channel is my GO TO whenever I need to learning something or fix an error! Thanks for making awesome videos!!!!
5:55 you could also add the "gap" property inside of the "item" class. It adds a gap between the child elements of a flexible container
Great
this series is great and all, but how do I sell this todo app for 25 billion dollars?
For that you should be searching for "how do I sell this todo app for 25 billion dollars" in google, Not "React Native Tutorial"!
@@alizalzar I did, this was the first result...
username checks out
The username says it all!
Asking how to apply to NASA after one physics lesson
Thanks!
to be honest, i followed your tutorial from the beginning, about the icons, i tried to display it in both ways ,
from the website. and the emulator, the icon displayed in the web (responsive mode) , but why it doesn't displayed in the emulator mode??
if you took warning message like that "error module 1 is missing from the asset registry" solution is that,
npm i @react-native/assets-registry
yarn version;
yarn add @react-native/assets-registry
write this code to your command line.
Thanks, sir.
very very useful. thank you
thanks for sharing
please make a project on expo like login signup and then curd operation
I got "Error : undefined Unable to resolve module '@expo/vector-icon' . . . " can you help me plz !!!!
Was it a typo? '@expo/vector-icon' instead of '@expo/vector-icons' ?
🔥🔥🔥
Cannot find module : '@expo/vector-icons'; i got an error------ any solution plz...
thanks
You are the best
𝙂𝙧𝙚𝙖𝙩 𝙫𝙞𝙙𝙚𝙤👍
How to clear TextInput field after submit ?
Add `value` prop to your `` component, as `value={text}` to bind the component with the current state. At the end of the `onPress` handler function for your `` component, set the input text state to empty, using `setText('')`.
@Coverman Zero @Taslima Kabir
function AddTodo({addTodo}) {
const [newItem, setItem] = useState('');
return (
setItem(item)}
/>
{
addTodo(newItem);
setItem('');
}}
color="coral"
/>
);
}
You need to add a handlePress component and add it to your Button onPress. your addTodos.js should look like this...
mail.google.com/mail/u/0?ui=2&ik=d72915211f&attid=0.0&permmsgid=msg-f:1668265849611511881&th=1726def38d026849&view=att&disp=safe
@@mehra.akshit thank you, it worked
{
submitHandler(text);
setText('');
}} title='add todo' color='coral'/>
I cannot clear the input field after adding todos. Can you please tell me how to do it?
thank you a lot sir for your tutorials, i have a question though. can i launch this todo app without going through expo on my phone?
you can build it using expo build:android or expo build:IOS
the color property on MaterialIcons doesn't work for me
Cool
borderStyle: "dashed" not working on iOS, but working on web. Why???
I dont use expo to work with react native, and i can't import these icons in my project. I googled it, but no results. Any ideas?
checkout react native elements and look in the icon section you will find material icons for the trach can
Try adding this at the end of your 'android/app/build.gradle':
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Then import icons like this (no curly braces):
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
you must restarting react-native run-android its should work
please please please share the icons documentation link, I can't find it.
🔥🔥🔥