正在加载视频...

视频加载失败

If you're a React Native user, you should *really* try out Flutter some time to see what we're missing. The integrated debugger is just mesmerising. You can navigate your UI tree via component hierarchy, or via visual layout. Clicking on either takes you to the declaration site!

31,015 次观看 • 5 天前 •via X (Twitter)

21 条评论

Dominik Roszkowski 的头像
Dominik Roszkowski5 天前

Try Dart with new primary constructors. It's like brand new language :D Sad that no one cares anymore.

Jamie Birch 的头像
Jamie Birch5 天前

Mainly I want to write Flutter code with HTML-like syntax (e.g. JSX). It’s fiddly to provide a child/children prop and to compose formatted text. I get that it’s really convenient for the renderer that everything’s so explicit, but it feels like a pain to write.

cedric 的头像
cedric5 天前

Compared to Xcode and Android Studio, what would be the better feature(s) here? Part of being native here on the React Native side is inheriting 1st party debugging tools. But I can see being able to put breakpoints anywhere (in either js or native code) would be huge.

jordwalke 的头像
jordwalke5 天前

Can I use react JS with it? That would be cool.

Jamie Birch 的头像
Jamie Birch5 天前

I believe there has been more than one attempt to create a React renderer for Flutter in the past. Here’s one. I see the Host Config, DOM shim, and vendored Flutter but I’m not quite sure at a glance where this thing calls Flutter’s C APIs from QuickJS.

Jamie Birch 的头像
Jamie Birch5 天前

Bear in mind, the above PoC is very incomplete, as you’d expect. But if you want to jump straight to the finishing line, I think you could just run React DOM inside OpenWebF, which is a W3C standards-compliant web rendering engine based on Flutter! 🤓

Pearce Keesling 的头像
Pearce Keesling5 天前

I'm so jealous of how well their hot reload works

Steve Korshakov 的头像
Steve Korshakov5 天前

they shouldn’t have used dart

SoCuul 的头像
SoCuul5 天前

Pros: Debugger Cons: Flutter

Alex Dochioiu 的头像
Alex Dochioiu5 天前

As a heavy flutter developer for 5 years. I barely ever used that thing.

Matin 的头像
Matin5 天前

That's the first thing caught my eyes when I worked on a flutter app 3 years ago.

Jimmy Law 的头像
Jimmy Law4 天前

Haters will hate, but i just use flutter for all frontend stuff now, about to try building a basic in-house analytics app with dart_duckdb too

Ricky Raihan Azhari 的头像
Ricky Raihan Azhari5 天前

3 years ago, didn't like it.. the syntax, "more abstractions", rewrite skia didnt they? mehh ecosystem . even in web i choose solidjs cause everything in js just works

Shinobu 的头像
Shinobu5 天前

two things that are awesome in flutter: the hot reload (if you add a widget inside another it will even animate its insertion lol) and the debugger those are unmatched, i guess that's you get for having a language that was basically created for your framework

Simon Reggiani 的头像
Simon Reggiani5 天前

That looks confusing more than anything 😅

Samet Şahin 的头像
Samet Şahin4 天前

First thing that got me quite surprised on RN was the lack of built-in, first party tooling. Flutter comes with great dev tools and they're all provided by the team itself.

🤓🇳🇱 的头像
🤓🇳🇱4 天前

Yeah, RN Components devtool is a dragon to work with. This looks way nicer.

Nyasha Dennis 的头像
Nyasha Dennis5 天前

The developer experience of Flutter is just impressive. I was missing out.

Rayon Studios 的头像
Rayon Studios5 天前

Having that visual flex explorer to debug layout constraints on the fly saves so much guesswork.

Suffering George 的头像
Suffering George5 天前

Envy is a sin

Salise 的头像
Salise5 天前

the way you can navigate the UI tree by component hierarchy or visual layout is pretty cool.

相关视频

Tony Robbins on the three questions that reveal why you're unhappy: "People don't experience life, they experience the life they focus on. If you're happy, you are deleting all the things you could be pissed off about. If you're unhappy, you're deleting all the things that are great in your life. Our brains delete and distort and generalize, so if you don't direct it, you get whatever shows up" "What's wrong is always available. What's right is also available. It's just which one you pick. And it isn't about positive thinking. I've never been into positive thinking. I believe in intelligence, because when you're in a lousy state of mind, you treat people poorly, you don't perform, you're not happy" "There are three decisions you're making every moment of your life. The first one is what are you going to focus on. If you're supposed to meet someone at 7 o'clock and it's 7:30 and they haven't called, some people are pissed off, some people are worried. It's the same event. Whether you're angry or worried had nothing to do with the event, it's the habits of your mind" "Do you tend to focus more on what you have or what's missing? Do you focus more on what you can control or what you can't? Do you focus more on the past, the present, or the future?" "If you constantly look at what's missing, it's hard to ever stay fulfilled. If you focus on what you can't control, you're overwhelmed and stressed. And if you focus on the past, which you can't change, that makes you angry or sad or frustrated. If you focus on what you have, you're going to be more fulfilled" "Instead of saying I want a New Year's resolution, another rule for myself, I need to change the ruler. A lot of times we don't even see that we're the ruler"

Jaynit

277,387 次观看 • 2 个月前