Jamie Allen
Jamie Allen
I was having lots of problems with this so [wrote a post here](https://medium.com/@jamieallen59/using-react-intl-with-create-react-app-6667ee3e19f3) for using react-intl, babel-plugin-react-intl and create-react-app, without ejecting.
@naveenthukkani did you find a solution?
Try this: https://github.com/react-navigation/react-navigation/issues/6451#issuecomment-553826449
Try this: https://github.com/react-navigation/react-navigation/issues/6451#issuecomment-553826449
That's exactly it. I was listening to the REHYDRATE action to check authentication. Apologies. Didn't think this would affect the persistence! Thanks.
I was using the same tutorial and couldn't find a tutorial from start => finish without ejecting so wrote one here: https://medium.com/@jamieallen59/using-react-intl-with-create-react-app-6667ee3e19f3. Hope it helps.
If others end up here, this is now: ```javascript const isWeekday = (date) => { const day = date.getDay() return day !== 0 && day !== 6 }
Just incase it helps anyone else with an isomorphic app, wrapping history.listen in an if block that checks if the code is running on the client works well: ```javascript const...
Thanks for the workaround @skleeschulte 👏 Just to add my use case to this as I think it would be a great feature to officially support: We wanted to send...
Yea I ended up faking localStorage to get it passing. I just assumed that you wouldn't want to assume localStorage existence. But then... "Assumption is the mother of all...". Thanks...