3 ms·
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 surfa
by shrisukhani 4y ago
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)
- gavinray 4y agoAh, got it, thank you!
- tristanbvk 4y agoHow 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.
- shrisukhani 4y agoNot 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
- emptysea 4y agowhat is `tag-ish`? Having trouble googling it
- tristanbvk 4y agoInteresting! Thanks for the explanation!
- emptysea 4y agoInteresting, does it cross compile a hack based DSL to iOS and android? Curious to hear more!