Matthieu G.

@matthieugc.bsky.social

Building mobile apps with React Native. Mistral AI / Le Chat

Has anyone found a clean way to vertically center a View inside a multiline text in React Native (with the new arch)? An arbitrary `translateY` moves the tag, but it's very manual and not robust to font scaling 😬

Screenshot - Some multiline text, followed by a "tag" that is not vertically aligned with the text

Just got bit by the React Navigation v7 breaking changes after upgrading to Expo SDK 52. This is mentioned in the Expo changelog, but easy to miss (lots of changes 😀), so double check this part! It probably impacts every non-trivial app. reactnavigation.org/docs/upgradi...

Upgrading from 6.x | React Navigation

React Navigation 7 focuses on streamlining the API to avoid patterns that can cause bugs. This means deprecating some of the legacy behavior kept for backward compatibility reasons.

reactnavigation.org