This part came across as patronising. In my opinion this type of statement is unnecessary. The data is shocking enough already. All it does is draws impact away from the main message.
Thats for this, it helped me work through things. One problem I’’m finding with the approach, is that I am unable to get the env variables in react, as if I had put them inline in the package.json scripts.
To follow up, I think I found a decent way to wrap a service up in a way that made sense to me coming from Angular. I’d be interested to get your feedback: https://medium.com/@f1lt3r/the-unstated-react-service-pattern-786ea6168d1d
Thank you for sharing your experiences. I was saddened to hear your story. Your writing is inspiring me to focus on the important things in life, like my wife and daughter.
One thing you said honestly went over my head… you talked about building mental strength to fall back on. Do you have any advice on how/where to start…
Thank you, Daniel. This is the clearest explanation of the Context API that I have seen yet. I like how you showed a way to share values and methods in one simple example. Very good!
It seems odd to me that you have stored methods object named “state”. I tried working around this by passing
this as value of the context…
It’s required in Xcode to build the phone gap push notifications plugin. Even if you don’t use it (FCM/GCM).
I had the same question. You can find more details here: