Digests » 177
With Now 2.0, it's easier, faster, and more scalable than ever to write applications that take advantage of serverless functions, with minimal or no code changes. One of the most fascinating use-cases for such functions is server-side rendering (SSR). In other words, when visitors or search engines go to your web app, they can receive everything they need in just one network hop.
The nice thing about using Symbol.for() specifically is that Symbols are global between environments like iframes and workers. So this fix doesn’t prevent passing trusted elements between different parts of the app even in more exotic conditions. Similarly, even if there are multiple copies of React on the page, they can still “agree” on the valid $$typeof value.
October 10th 2018, our team release a new version of our React Native app. We're happy and proud to deliver new features to our users. But oh the horror!
I heard Hooks are the new hotness. Ironically, I want to start this blog by describing fun facts about class components. How about that! These gotchas are not important for using React productively. But you might find them amusing if you like to dig deeper into how things work.
Consider this Greeting component which is defined as a function.