कोशिश गोल्ड - मुक्त

Mobile APP Development with React Native

Circuit Cellar

|

September 2024

This month, Bob continues his series on mobile app development from an embedded designer's perspective. He programs a React Native app and he offers guidelines for picking a tutorial for React Native. He further explores how it handles concurrency and asynchronous programming. Bob expected a few nuances during the process but to say there were more than a few would be an understatement.

- Bob Japenga

Mobile APP Development with React Native

Learning C and the C stdlib library was something I did on my own. Brian Kernighan and Dennis Ritchie's The C Programming Language was something I read while in France on a project in 1981. It was simple, concise and easily digested. Plus, it kept my mind off French baguettes. Reading it did not turn me into a good C programmer, but it laid the foundation. Oh, did I just say that I was a good C programmer. My bad! To show my hubris and shallowness, a short while later a friend asked me to help him debug a C program he had written for the PC. He was brand new to C and I was just "new without the brand" to the language. I confidently told him that, with the debugger, we would find the problem in less than a half hour. Four hours later, I was stumped. The problem was that he allocated very large variables on the stack and blew his default stack away every time he used these variables. But like all stack problems, it was very non-deterministic. The debugger was worthless in debugging that. I had not quite mastered memory allocation.

Now, 45 years later, learning React Native is not done by reading one book. The number of components and the intricacies of JavaScript are significantly more complex than C and its standard library. Add to that the React Native components and I found that I needed a serious course. For example, there are less than 50 functions in most stdlib C libraries. Although there are only 24 core components for React Native, each one is probably 10-20 times more complex than each C library function. Add to that the thousands of community supported components and you will understand the complexity.

TUTORIALS ABOUND

Circuit Cellar

यह कहानी Circuit Cellar के September 2024 संस्करण से ली गई है।

हजारों चुनिंदा प्रीमियम कहानियों और 9,500 से अधिक पत्रिकाओं और समाचार पत्रों तक पहुंचने के लिए मैगज़्टर गोल्ड की सदस्यता लें।

क्या आप पहले से ही ग्राहक हैं?

Circuit Cellar से और कहानियाँ

Circuit Cellar

Circuit Cellar

Bourns Announces New Micro Encoders Offering High Reliability in a Compact Design

Bourns, Inc., a leading manufacturer and supplier of electronic components for power, protection, and sensing solutions, announced its PEC04 Series 4mm Incremental Micro Encoder, its PEC05 Series 5mm Incremental Micro Encoder and its Model PEC06, a 6mm Incremental Micro Encoder. Bourns new micro encoders provide position and speed information essential for control functions in a broad variety of electronic applications.

time to read

1 min

September 2025

Circuit Cellar

Circuit Cellar

Harwin Brings Through-Hole Retention to Industrial Kontrol Range of Connectors

Harwin has extended its Kontrol lineup of connectors for industrial and embedded applications, adding through-hole retention to further enhance resilience and board-level reliability in harsh operational environments. Harwin has added 72 new products to the industrial connector family, extending the range by 48%.

time to read

1 min

September 2025

Circuit Cellar

Circuit Cellar

Renesas Introduces 64-bit RZ/G3E MPU for High-Performance HMI Systems Requiring AI Acceleration and Edge Computing

Renesas Electronics Corp., a premier supplier of advanced semiconductor solutions, announced the launch of its new 64-bit RZ/G3E microprocessor (MPU), a general-purpose device optimized for high-performance Human Machine Interface (HMI) applications.

time to read

1 mins

September 2025

Circuit Cellar

Circuit Cellar

Build a Follower Counter for Social Media

See Real-Time Metrics Using an Arduino Yún

time to read

20 mins

September 2025

Circuit Cellar

Circuit Cellar

Nordic Semiconductor Announces Highly Integrated nPM3104 Power Management IC With Support For Small-Size Battery Products

Nordic Semiconductor announced the new nPM1304 Power Management IC (PMIC). Building on the success formula of the well-established nPM1300, the nPM1304 offers the ideal solution for space-constrained applications that require small batteries.

time to read

2 mins

September 2025

Circuit Cellar

Circuit Cellar

Chaos on Your Desktop

Build a Color-Pulsing Light Sphere Using a PIC or Raspberry Pi Pico MCU

time to read

9 mins

September 2025

Circuit Cellar

Circuit Cellar

NXP’s New Battery Cell Control IC Family Advances New Energy Solutions

NXP Semiconductors announced its new 18-channel Li-ion battery cell controller, the BMx7318/7518 IC family, designed for electric vehicle (EV) high-voltage battery management systems (HVBMS), industrial energy storage systems (ESS) and 48V battery management systems.

time to read

1 mins

September 2025

Circuit Cellar

Circuit Cellar

Autonomous Mobile Robots

Robots Moving to Their Own Beat

time to read

12 mins

September 2025

Circuit Cellar

Circuit Cellar

The DVM on Your Wrist

A Wireless Link Between A DVM and a Smart Watch

time to read

18 mins

September 2025

Circuit Cellar

Circuit Cellar

Control Your Local IoT Network from the Cloud

Secrets of “Cloud Relaying” Revealed

time to read

5 mins

September 2025

Listen

Translate

Share

-
+

Change font size