Here is the scorecard of React Native (left) and Xamarin (right) vs. Flutter (100%), not on the card. The arrows show the trend vs. Flutter.
React Native and Xamarin lose to Flutter in all categories except installed apps.
Here are my recommendations:
| 2023 | Q2 | Q1 | ||||||
| 2022 | Q4 | Q3 | Jun | May | Apr | Mar | Feb | Jan |
| 2021 | Dec | Nov |
These recommendations are for building native enterprise applications on iOS and Android - forms, data grids, and reports. They are not for games or media applications.
Here are the choices in alphabetical order:
Declarative UIs are state-of-the-art. Learn about it here.
Picking a popular technology makes our developer life easier: Easier to learn, easier to build, debug & deploy, easier to find jobs/hire, and easier to convince teammates & bosses. Popularity can make a difference in two situations: When multiple technologies score similarly, we could go for the most popular one. And when a technology is very unpopular, we may not use it.
I measure popularity among employers and developers as the trend between competing technologies. I count mentions in job ads at Indeed for employer popularity. For developer popularity, I use Google searches, Udemy course buyers, and Stack Overflow questions.
The mobile analytics company appfigures analyzes all apps in the Apple App Store and the Google Play Store. That’s why they can publish a list of how many apps use a particular technology. JavaFX isn’t on the list because it has a <1% market share. So here are the results for the other three frameworks:
React Native wins, Flutters is second, and Xamarin is third. React Native and Flutter have the same share on Android. But on iOS, React Native is 50% ahead of Flutter. Xamarin is way behind with 4% on both iOS and Android. All values have been stable since August 2022, excluding a small jump in Flutter Android last May.
The Indeed job search is active in 62 countries. I picked 59 countries representing 69% of the worldwide GDP in 2022, excluding three countries because English word searches proved ineffective there: China, Japan, and South Korea. Job searches demonstrate the willingness of organizations to pay for a technology - the strongest indicator of popularity in my mind. Flutter is the baseline.
There are no job ad numbers for May 2023 because of changes on the Indeed websites.
React Native wins, Flutters is second, Xamarin is third, and JavaFX last. The number of developer ads is down in 2023. React Native has dropped from a 2.9:1 lead over Flutter to 1.6:1 over the previous two years. Xamarin lost 40% of its mentions against Flutter since August 2021. JavaFX held steady against Flutter at 6-7%.
Please see here for details, caveats, and adjustments to the job ad mentions.
You can find the detailed search results with links here. They include breakdowns by continents:
Udemy is one of the biggest online learning sites. They publish the number of people who bought a course (beyond a certain threshold, possibly around 100k). This shows how many people evaluate a technology. This time, React Native is the baseline. The percentage behind the current value is the drop-off from the peak value, marked with a circle.
Flutter wins, React Native is second, Xamarin is third, and JavaFX is fourth. Flutter steadily increased its lead over React Native and now leads React Native 2.1:1. Xamarin actually lost students (probably some courses were removed) and dropped from 30% of React Native’s values to just 19% &mdash. JavaFX has been stable against React Native since September 2021, only losing 6% in the last few months.
Here are the links that show the courses for all and the number of students for some:
Google Trends demonstrates the initial interest in a technology over time. “More searches = better” to me. The percentage behind the current value is the drop-off from the peak value, marked with a circle. This is the chart link.
Google changed its measurement algorithms on January 1, 2016, and January 1, 2022. That caused spikes for all values, especially in 2022.
Flutter wins, React Native is second, Xamarin is third, and JavaFX is fourth. Flutter hit its all-time high in August last year and React Native in May this year. Flutter now leads React Native 1.8:1. JavaFX and Xamarin have declined for six years. .NET MAUI, Microsoft’s “Xamarin rewrite”, may reach #3 next year.
We can run database queries against the questions, answers, and comments at Stack Overflow with the StackExchange Data Explorer. The number of monthly questions is a proxy for using a technology during evaluation and productive use. “More questions = better” to me. The percentage behind the current value is the drop-off from the peak value, marked with a circle.
Please note that the overall monthly number of Stack Overflow questions is down 42% since ChatGPT appeared (November 2022 vs. August 2023):
Flutter wins, React Native is second, Xamarin is third, and JavaFX is fourth. Flutter leads React Native 2:1. But Flutter has lost 42% since last November and React Native 40%. JavaFX and Xamarin have declined for 4-5 years. .NET MAUI, the “Xamarin rewrite”, already leads its predecessor 4:1 but still has just a quarter of React Native’s questions.
I used two queries to get the number of monthly questions below because putting all in one query timed out. You can run them in the StackExchange Data Explorer.
DECLARE @StartDate DATE = '2009-01-01';
DECLARE @EndDate DATE = '2023-06-30';
WITH TaggedQuestions AS (
SELECT
Id,
CreationDate,
CASE WHEN CHARINDEX('<flutter>', Tags) > 0 THEN 1 ELSE 0 END AS FlutterTag,
CASE WHEN CHARINDEX('<react-native>', Tags) > 0 THEN 1 ELSE 0 END AS ReactNativeTag,
CASE WHEN CHARINDEX('<javafx>', Tags) > 0 THEN 1 ELSE 0 END AS JavaFXTag
FROM Posts
WHERE
PostTypeId = 1 AND -- 1 for questions
CreationDate >= @StartDate AND
CreationDate <= @EndDate
),
MonthlyCounts AS (
SELECT
DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS Month,
SUM(FlutterTag) AS Flutter,
SUM(ReactNativeTag) AS ReactNative,
SUM(JavaFXTag) AS JavaFX
FROM TaggedQuestions
GROUP BY DATEADD(month, DATEDIFF(month, 0, CreationDate), 0)
)
SELECT
Month,
Flutter,
ReactNative,
JavaFX
FROM MonthlyCounts
ORDER BY Month;
DECLARE @StartDate DATE = '2009-01-01';
DECLARE @EndDate DATE = '2023-06-30';
WITH TaggedQuestions AS (
SELECT
Id,
CreationDate,
CASE WHEN CHARINDEX('<xamarin>', Tags) > 0 THEN 1 ELSE 0 END AS XamarinTag,
CASE WHEN CHARINDEX('<maui>', Tags) > 0 THEN 1 ELSE 0 END AS NetMAUITag
FROM Posts
WHERE
PostTypeId = 1 AND -- 1 for questions
CreationDate >= @StartDate AND
CreationDate <= @EndDate
),
MonthlyCounts AS (
SELECT
DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS Month,
SUM(XamarinTag) AS Xamarin,
SUM(NetMAUITag) AS NetMAUI
FROM TaggedQuestions
GROUP BY DATEADD(month, DATEDIFF(month, 0, CreationDate), 0)
)
SELECT
Month,
Xamarin,
NetMAUI
FROM MonthlyCounts
ORDER BY Month;
I use the following criteria to recommend one of the two choices - Flutter and React Native:
Based on these criteria and my ratings, Flutter is the winner, and React Native is second. That’s why my recommendation is:
The next issue will arrive in November 2023. Subscribe to it as a newsletter to have it in your inbox then!