AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
React native media meta4/6/2023 Mid last year we saw the release of React-Native ReAnimated 2 which allowed us to have access to the native UI thread. Major improvements to animationsĪnother big development in the RN community this year is going to be animations. I’ve been enabling it on all the demo projects I write for Medium and will be enabling it on all future projects even before it becomes default. Basically, it’s a much welcomed overall buff for the RN ecosystem □. Using Hermes results in faster app start-up times, less memory usage and smaller apps. Hermes is a Meta’s JS engine tailored specifically for running with RN, as opposed to engines like V8 that are optimized for Google Chrome. A great explanation of this can be found in the React-Native Radio (RNR) Podcast 222 with React-Native’s Engineering Manager Kevin Gozali.Īlthough Hermes has been available for a while, especially on mobile, it’s great to see it will be a core part of the RN ecosystem moving forward. Finally, Codegen is used to generate native code at build time. Fabric is the new renderer for RN that is meant to increase rendering performance and make Android and iOS UI behaviours more consistent with one another. Turbo Modules allow JavaScript to hold a reference to C++ host objects and manipulate them. The RN refactor has three parts: Turbo Modules, Fabric and Codegen. I know not everyone is up to speed on what the components of the RN architecture are, so let me explain. The first big development we will see in 2022 is the new React-Native architecture becoming increasingly more mature. Knowing this, I thought I would take a break from my usual tutorials and do my civic duty as a member of the React-Native community to promote changes to the ecosystem I think will make a huge difference in 2022. I sorely wish our community was better at PR when major developments take place, but unfortunately that’s not the case. Instead, they are reliant on social media and developers making recommendations to one another. Unlike iOS or Android, big developments to React-Native are not met with large conference announcements and fanfare. This is especially true if you are new to the ecosystem and don’t know who the key influencers in the community are. The React-Native (RN) community can seem quiet at times. Courtesy of Caspar Camille Rubin from Unsplash
0 Comments
Read More
Leave a Reply. |