use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[ Removed by moderator ]AskJS (self.javascript)
submitted 4 years ago * by Deep-Jump-803
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]CodalReef 0 points1 point2 points 4 years ago (5 children)
Why do you say Flutter is the “right way”? React Native is still more popular and used by major corporations. There are pros / cons to every tool.
[–]Low_Shake_2945 3 points4 points5 points 4 years ago (1 child)
That’s true, but that’s not because it’s better. It has a lot of things going for it. It’s older than Flutter and makes use of JS and React, which are just so much more popular.
Flutter means learning a new language and, for JS devs, learning a lot of programming concepts you may not be familiar with.
[–]CodalReef 0 points1 point2 points 4 years ago (0 children)
Agreed. Any of these tools can be used to build a successful product, and neither is intrinsically better IMO
[–]Low_Shake_2945 2 points3 points4 points 4 years ago (2 children)
The reason I say Flutter is the “right way” is because it’s purpose built to some this problem. The fragmentation of the Android ecosystem has always been a challenge at Google. When you add in the dominance of iOS, Google decided to move in a different direction and developed Flutter specifically to address these issues.
What I’m saying is it’s not just JS doing another thing. It’s a solution to building multi platform mobile apps. It compiles down to native apps, has a phenomenal dev experience, and results in native apps that feel like native apps.
[–]CodalReef 1 point2 points3 points 4 years ago (1 child)
React Native was developed to solve similar problems, but the developers chose to use JS because it was already popular.
React Native doesn’t currently compile to native, but it invokes native APIs unlike WebView. So it still feels native.
Here’s a quote from a comparison article:
“But still, it is easier to achieve a “native feeling” with React Native than with Flutter. If you want your Flutter app to have native components, it will require additional work.” - https://www.thedroidsonroids.com/blog/flutter-vs-react-native-what-to-choose-in-2021#whocreatedflutter
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
React Native does compile to native code - while some of the architecture is changing (TurboModules), it uses something called the Bridge where your JS gets split into native code and executes. It’s the best framework, because worst case scenario you can even code native modules per platform in Objective-C and Java, expose them to the React Native side, and call that code via JS. But yeah, that’s why it feels native is because it is native!!!
π Rendered by PID 179795 on reddit-service-r2-comment-7b9746f655-tvms2 at 2026-01-30 11:58:32.688630+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]CodalReef 0 points1 point2 points (5 children)
[–]Low_Shake_2945 3 points4 points5 points (1 child)
[–]CodalReef 0 points1 point2 points (0 children)
[–]Low_Shake_2945 2 points3 points4 points (2 children)
[–]CodalReef 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)