The post fails to mention that spaceX is not just a rocket company. Bundled with it is xAI, which is presumably losing money hand over fist. Package enough risk together and sell for a higher price to retail consumers. We’ve seen this play…
I’m in the exact same boat. Also toying with the idea of going back to android for the pixel 10 pro. I do miss android notifications and keyboard. Are there any features keeping you from going back?
Hooks are absolutely fantastic. However, there are still a few pain points:
- useState with an array is bad news if more than 1 component is consuming or setting the state.The clunky alternative is to keep it in a ref & call a forceUpdate whenever you would normally call your setter
- useCallback doesn't scratch the itch for things like document event listeners since everything inside the callback will be stale. The clunky alternative is a custom useEventCallback that keeps your callback function in a ref. (and that might not work in the upcoming sync mode)
- linter rules can be too strict & the --fix flag can actually cause a break in your app by adding things to the dependency list. Sometimes a useEffect depends on the current value of a ref, but linter says that's a no-no. 2 useCallbacks can be co-dependent, but there's no way to write that co-dependence in the dependency list. Sometimes I want to return null before a hook. The clunky alternative for all these is a bunch of eslint-ignore comments.