Skip to content

4.4: Next.js 15 + more

Latest
Compare
Choose a tag to compare
@nandorojo nandorojo released this 19 Mar 20:05
Β· 15 commits to master since this release

See PR #504 for this release here

yarn add solito

About

This release is primarily new documentation and starter template upgrades. The starters have been tested with newer versions of Next.js and other upstream libraries.

As stated in the Solito docs:

This library is two things:

  1. A tiny wrapper around React Navigation and Next.js that lets you share navigation code across platforms.
  2. A set of patterns and examples for building cross-platform apps with React Native + Next.js.

Keeping the docs and patterns updated is a critical feature of Solito, which is why we've added a new "Compatibility" section to the docs, touched on more below.

New Features

  • Solito now supports passing style directly to Link components:
<Link href="/users/fernando" style={{ padding: 16 }}>...

Previously, you had to pass it to viewProps.style.

Compatibility

Solito has now been successfully upgraded and tested with:

  • next 15
  • react 19
  • expo SDK 52
  • react-compiler
  • react-native 0.77
  • solito v4.4
  • turbopack
  • React Navigation v7
  • Next.js App Router

This addresses #499 #498

There is a new Compatibility section in the docs to officially track the latest versions that Solito's monorepos have been successfully tested with: https://solito.dev/compatibility

Please reference that document if you face issues upgrading to Next.js 15.

Updated starter template

npx create-solito-app@latest

The starter template has been upgraded to the latest upstream packages and works great.

The starter template also removed the following to make it even more minimal:

  • Removed @expo/next-adapter in favor of an explicitly-defined next.config.js
  • Removed dripsy to be more style-agnostic
  • Removed @expo/html-elements

Deprecated starters

The following starters will get phased out and deprecated:

  • with-tailwind
  • with-expo-router
  • with-custom-fonts

Why? Using them just requires a few extra steps on top of Solito's starter, and it's more of a burden to maintain such similar repos for a little bit of boilerplate.

In the future, these will be available as references rather than starters. For new users, we recommend using the default Solito starter, and then adding additional libraries, like Nativewind or Expo Router, directly into that. A single starter with guides for other integrations will be simpler to maintain and keep up to date.