News for hackers. Stuff that matters.
Re:Is React impacted by Meta layoff? by shrisukhani on Wednesday November 09, 2022 @12:06PM (#33534560)
RN's not really core to Meta tbh. The most important surfaces are all built either natively or with NT / Blocks I think. Also ~19 months outdated though.
Re:Is React impacted by Meta layoff? by gavinray on Wednesday November 09, 2022 @12:17PM (#33534739)
What's "NT / Blocks"?
Re:Is React impacted by Meta layoff? by shrisukhani on Wednesday November 09, 2022 @12:28PM (#33534908)
Sorry about that, should've clarified!

NT - Native Templates. It's a cross-platform app dev framework where you can write Hack on the server once to make surfaces for both iOS and Android.

Blocks is similar to NT but in Python (IG backend is all Python)

Re:Is React impacted by Meta layoff? by gavinray on Wednesday November 09, 2022 @12:38PM (#33535056)
Ah, got it, thank you!
Re:Is React impacted by Meta layoff? by tristanbvk on Wednesday November 09, 2022 @02:25PM (#33536599)
How does it work. In the sense that what does it provide the client side. Does the client get served pre-rendered interfaces of some sort?

Trying to figure it out as the Meta apps are very nice UX wise and maybe web technologies have come a long way to "feel native" hence i am in disbelief at the leaps and bounds being made.

Re:Is React impacted by Meta layoff? by shrisukhani on Wednesday November 09, 2022 @03:39PM (#33537496)
Not super sure about how the internals work but iirc this is the flow:

- Eng writes Hack/Python code on backend with a view tag-ish

- Client has native components for NT and Blocks. The native component references tag-ish from above and pulls code / config

- The code / config returned from the backend gets translated into Litho/ComponentKit components (so native Android UI elements) and rendered

Re:Is React impacted by Meta layoff? by emptysea on Wednesday November 09, 2022 @07:12PM (#33540224)
what is `tag-ish`? Having trouble googling it
Re:Is React impacted by Meta layoff? by tristanbvk on Monday November 21, 2022 @03:43AM (#33690303)
Interesting! Thanks for the explanation!
Re:Is React impacted by Meta layoff? by emptysea on Wednesday November 09, 2022 @03:35PM (#33537452)
Interesting, does it cross compile a hack based DSL to iOS and android?

Curious to hear more!

Re:Is React impacted by Meta layoff? by camdat on Wednesday November 09, 2022 @12:29PM (#33534915)
Think full-featured bootstrap components. Design + FE build "Bloks", product teams use them everywhere.
Re:Is React impacted by Meta layoff? by zffr on Wednesday November 09, 2022 @12:11PM (#33534628)
I interviewed at Meta more recently than that, and the engineers I spoke with mentioned the same thing.
Re:Is React impacted by Meta layoff? by olalonde on Wednesday November 09, 2022 @12:58PM (#33535378)
Do you work at Meta? This tweet from 2020 seems to imply it is used pretty extensively: https://twitter.com/dan_abramov/status/1234801516843819009
Re:Is React impacted by Meta layoff? by battery_glasses on Wednesday November 09, 2022 @01:21PM (#33535731)
I was at Meta when this was tweeted and I think he must be referring to mostly internal apps. AFAIK the only part of the FB app that was heavily React Native was FB Marketplace.

By 2021 there were edicts in some departments that absolutely no new projects were to written with RN, with the emphasis moving towards their server-side rendering frameworks (Native Templates and Bloks.)

Re:Is React impacted by Meta layoff? by no_wizard on Wednesday November 09, 2022 @01:26PM (#33535809)
Wonder if that means React Native will either get turned over to a foundation or will be de-prioritized / ended as a project
Re:Is React impacted by Meta layoff? by metadat on Wednesday November 09, 2022 @07:02PM (#33540106)
What do NT and Block mean in this context?
Re:Is React impacted by Meta layoff? by flakyfilibuster on Friday November 11, 2022 @05:29AM (#33559030)
source? "tbh" and "I think" is cool and all, however I could also just throw out things I believe

Would be nice to know where you get your information from, that RN isn't core to Meta