|

How to add custom fonts in react native 60+

Create a file in your react native project called react-native.config.js:In it, paste assets: [‘./src/assets/fonts/’], should be the path to wherever you stored your custom fonts in your project folder.When you run the link command, it should work then. It is very important to use with the full name of the file without extension https://github.com/facebook/react-native/issues/25852#issuecomment-567279869

Git isn’t noticing the changes you made to your .gitignore file

If it seems like Git isn’t noticing the changes you made to your .gitignore file, you might want to check the following points: There might be a global .gitignore file that might interfere with your local one When you add something into a .gitignore file, try this: git add [uncommitted changes you want to keep] && git commitgit rm…