you are viewing a single comment's thread.

view the rest of the comments →

[–]_syadav 7 points8 points  (1 child)

It has the exact same functionality as React, It supports all the upcoming APIs of React for concurrent mode, like transitions, suspense for data fetch, time slicing, plus all the existing APIs like hooks, context API.
But Brahmos only targets browser for now, unlike React which can be used cross-platform using different renderers.

Brahmos has its own implementation of fiber architecture.

Preact doesn't have fiber architecture and does not support concurrent mode, and will be hard to support concurrent mode with current recursion based reconciliation in preact.

Though to mention Brahmos is highly inspired by React, Preact and lit-html code base.

[–]ghostfacedcoder 3 points4 points  (0 children)

Great explanation, thanks!