Advertisement · 728 × 90

Posts by cedric

🫶 any time

9 months ago 3 0 0 0

@joshuakgoldberg.com sorry for the no-reply on the repo. Is there anything you need changed in the repo?

10 months ago 4 0 1 0

I think I still have access to it, maybe you do too? Happy to do some maintenance if that’s required. But, for bigger things, it prob need to wait for after some conferences 🙈

10 months ago 3 0 2 0

Right now, I don’t have a lot of bandwidth. But what needs to be done on this repository?

10 months ago 3 0 1 0
Preview
a group of men in suits and ties are standing in a line . ALT: a group of men in suits and ties are standing in a line .
1 year ago 2 0 1 0

This is what Google does all the time. Even in their Flutter conferences they promote apps from big companies by just saying their name, not that only 1 division of that big corp in 1 single country uses Flutter. All while most other countries of the same corp use something else.

1 year ago 1 0 0 0
Preview
donald trump is speaking into a microphone in front of a wall that says nabtu ALT: donald trump is speaking into a microphone in front of a wall that says nabtu
1 year ago 4 0 0 0

Oh man, so much to come still! We can work on so many other parts of the universal story now.

1 year ago 14 0 0 0

👀

1 year ago 3 0 0 0
Advertisement
Preview
fix(cli): add `EAI_AGAIN` DNS service errors to offline detection by byCedric · Pull Request #34014 · expo/expo Why Someone on Bluesky mentioned running into this error. EAI_AGAIN indicates that the DNS service returned a server-side error. Although it doesn't indicate the user is offline, it does preven...

I added the `EAI_AGAIN` error to the offline detection (when fetch is failing). github.com/expo/expo/pu...

1 year ago 7 0 0 0

For normal offline errors, we automatically switch to offline mode with a warning that it did. See: github.com/expo/expo/bl...

1 year ago 1 0 0 0

As the `—offline` flag mentions, we ping the API to get a list of known dependencies that we use to check if you might be running incompatible `expo-*` packages for SDK 50.

We also catch known offline related issues, unfortunately the EAI_AGAIN is a DNS error but doesn’t indicate you are offline.

1 year ago 1 0 3 0
Preview
a man in a suit says " you guys are unbelievable " in front of a car ALT: a man in a suit says " you guys are unbelievable " in front of a car
1 year ago 5 0 0 0

Syntax trees shouldn’t have to be compiled or evaluated. It’s usually a token based lexer that only represents the written code through an accessible interface. Hence it’s the only way to mutate code in a stable manner.

1 year ago 0 0 1 0

Preferably all mods that are required for a platform have a proper way to do a mod using some sort of AST/CST. That’s the only way to make things stable

1 year ago 3 0 1 0

The noop disables dangerous mods for the platform. Otherwise it would error out. Dangerous mods were a “if it’s not implemented, there is still _a_ way to do something” but it’s not recommended and it could be unstable.

That’s why I just disabled it.

1 year ago 2 0 2 0
Preview
react-native-test-app/plugins at trunk · microsoft/react-native-test-app react-native-test-app provides an app for all supported platforms as a package - microsoft/react-native-test-app

Fun fact, both React Native Test App (RNTA) - github.com/microsoft/re... - and react-native-tvos (github.com/react-native...) are using config plugins! Any other out-of-tree platform can adopt it as well.

1 year ago 2 0 1 0

You know it's a banger when my first words are "sorry, not sorry".

Listen in to an in-depth conversation about React Native debugging from both Alex hunt and me! We have come a long way but have much more to come.

1 year ago 23 3 0 1
Advertisement

Its better to go for a plugin approach. Even though we don't have a plugin system for Metro configs. Using specialized functions to modify configs lowers the risk a little bit, and adds code-as-documentation to users configs. E.g

module.export = withNativeWind(config, { .. });

Easy to pull out too

1 year ago 3 0 1 0

I disagree with the "merging configs", I don't think thats a good idea in any way. Merging configs can override so many things without users realizing. That's why we discourage using `import { mergeConfig } from 'metro-config'`.

1 year ago 3 0 1 1

It’s the same for Metro config. You often accidentally overwrite some configuration that breaks something in unexpected ways

1 year ago 2 0 1 0

Ok

1 year ago 1 0 0 0

👋

1 year ago 2 0 0 0

It’s not about the size, it’s what you can do with 5.5” screenshots

1 year ago 7 0 1 0
Preview
GitHub - byCedric/tldraw-dom-components: Unlock the full React ecosystem on native Unlock the full React ecosystem on native. Contribute to byCedric/tldraw-dom-components development by creating an account on GitHub.

Yeah, I just used the default template and added Tldraw. If you are on SDK 52, DOM components work out of the box.

github.com/byCedric/tld...

1 year ago 0 0 0 0
Advertisement

This is slick!

1 year ago 1 0 1 0
Preview
GitHub - byCedric/tldraw-dom-components: Unlock the full React ecosystem on native Unlock the full React ecosystem on native. Contribute to byCedric/tldraw-dom-components development by creating an account on GitHub.

github.com/byCedric/tld...

1 year ago 8 0 0 0

Can’t wait until we lower the dependency count even more ❤️

1 year ago 6 0 0 0

Having access to the full ecosystem of React (and -Native) libraries truly unlocks possibilities. Even when “just” using a web view.

1 year ago 6 0 0 0
Video

I’m still amazed how powerful DOM components are. I mean, try implementing an infinite drawing canvas on web, iOS, and Android in under 5 minutes.

With DOM components you actually can.

1 year ago 70 7 7 1