Closed ue closed 4 years ago
hey @ue ! I will recheck. Could you clarify what do you mean under "fresh reload"?
Hi @vitalets thanx for interesting the issue,
the latest release for react-native came with default enhanced hot reload that means. It working like before as hot reload. When started the application as debug mode the app getting error cuz of the styles not recognized for first starting. Until doing fast refresh it start to recognize again. That's the error. If you have time to try with latest release, you will understand better than my explanation :)
Btw: title edited.
@ue I think you mistakenly tagged me instead of @vitalets
Got the same issue, I need to reload whole app for styles to be available. is there a way to call styles.build asynchronously, cause that would solve my issue.
Hi guys, can't reproduce the issue:
npx react-native init EStyleSheetRN61
npm i react-native-extended-stylesheet --save
App.js
, replaced StyleSheet.create
with EStyleSheet.create
, add $textColor: 'red',
.EStyleSheet.build()
App.js
to check hot reload - changes aaplied.react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4
Please provide more details, how to reproduce the issue.
I just reinstall and clear cache build etc. it works for me. Thanks, closing @vitalets
in debug mode first opening the stylesheet not working until fast refresh via
61