217 karma · joined June 25, 2021
[1]: https://skulpt.org/
Normally React hooks are written with functions but with this library you use classes instead. You have access to lifecycle methods such as `hookDidMount` and `hookDidUpdate`.
I hope people find this interesting. Whether or not it is a good design is something for y'all to debate!
Example from real experience: I had an `InfinityScroller` functional component. The `loadMoreItems` prop signature was a function with ten arguments because different usages require different state data when deciding what to load.
I converted the component to class based. `loadMoreItems` became an abstract method. No more overly complicated type signature because I can just access and update `this.state`.
But for Facebook I don’t see how it can be broken down. Instagram, Whatsapp, and Messenger, Facebook’s three big children, are not really separate lines of business from Facebook itself. This isn’t due to defects in anti-trust laws or their enforcements. Capitalism itself just isn’t made for the wide-reaching and feedback-loop-y industry that is social media.
I don’t think what you’re saying you want in the second paragraph is quite like Raya. A small and exclusive platform would filter out a lot of noise, but it would also exclude a lot of people like-minded to you. What you described sounds like a LinkedIn with much more intelligent recommendation/matching algorithms.
> expects to receive its millionth application by the end of 2021
> subscription fee of $7.99 per month (now $9.99)
To still turn a profit after paying 40 staff members and all the costs of maintaining and developing an app, this thing would need at least 50% of its registered users to be active. I really doubt this is possible for a dating app. Curious what other revenue streams they might have.
EDIT: never mind the question, I just read that the special bit is atomic.
> Our apologies for not making this clear. The photovoltaic effect was increased by 1000 times compared to previous output achieved from cells made of ferroelectric crystals, not from prevailing solar cells made of silicon or other conventional materials.
misleadingly make it seem like they made 1000x progress from the current best.