Posts

Showing posts with the label old vs new architecture
Image
React Native  new   Architecture   2024 Hello Developers, Today, we're diving into the new architecture of React Native. But before we do, let's take a glance at the old architecture. Please take a moment to look at the old architecture below.👇 Let's create native user interface and native elements. You really cannot have access to the directly. To address this problem we will ensure that there is a way to communicate between two world. In the React Native world we will call it the React Native Bridge. Relied on a JavaScript thread, a native thread, and a Bridge for communication. This Bridge is a simple mechanism to pass messages from JavaScript world to the native world and back. The other big gap in this system is that, on the web if you ask about layouts the answer is going to be Flex box, but the Platform UI(Android/iOS) doesn't really understand flex box. Platform UI(Android/iOS)    has its own layout system, bcoz we cannot really use Flex box , we implem...