이번 주 도움이 되었던 것들
1. react native 0.62 업데이트 후 multipart/form-data 업로드 안됨.
After upgrading from 0.61.4 to 0.62.0 the app will not upload files anymore from Android
https://github.com/facebook/react-native/issues/28551
React Native 0.62.* [TypeError: Network request failed] on file upload · Issue #28551 · facebook/react-native
Please provide all the information requested. Issues that do not follow this format are likely to stall. Description After upgrading from 0.61.4 to 0.62.0 the app will not upload files anymore from...
github.com
2. Image with auth Bearer
https://stackoverflow.com/questions/36675682/react-native-image-with-bearer-authentication-token
React Native Image with 'Bearer' authentication token
In React Native I can use images with
The problem is that user images are protected by JWT token which I pass in the hea...
stackoverflow.com
3. Warning with Async Storage
Warning: Async Storage has been extracted from react-native core…'?
How to remove 'Warning: Async Storage has been extracted from react-native core...'?
I've already tried what's recommended in this screenshot by using this line of code import AsyncStorage from '../../../node_modules/@react-native-community/async-storage'; in the file where I'm
stackoverflow.com
npm i @react-native-community/async-storage
or
yarn add @react-native-community/async-storage
4. useSelector not updating when store has changed in Reducer
useSelector not updating when store has changed in Reducer. ReactJS Redux
I am changing the state in reducer. On debug I checked that the state was really changed. But the component is not updating. Component: function Cliente(props) { const dispatch = useDispatch(...
stackoverflow.com
the problem your facing is very common when handling with objects, the props do not change because you're changing an object property but the object itself does not change from the react side.
even when you're giving it a whole new object react doesn't see the property object change because the reference stays the same.
와우!