News for hackers. Stuff that matters.
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.