Загрузка видео...

Не удалось загрузить видео

На главную

Yesterday at RNCK I demoed our new React Native IDE project we developed Software Mansion. Check out the thread for details on each specific feature from the clip

333,256 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

1/ Our project is a Code extension that can launch RN projects and display iOS/Android emulator side-by-side. The build is “isolated” meaning it spins its own metro/debug session/etc taking away all the tooling complexity you need to learn when starting with React Native.

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

2/ The example project I’m using is a Airbnb clone by @schlimmson (thanks for publishing such a great project!). The app uses @expo router and the IDE integrates with it by showing you a URL bar that you can use to jump between screens and navigate back in the history.

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

3/ Our extension has an integrated inspector button that makes it possible to jump directly from the simulator to your component’s code.

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

4/ When you use console from your application’s code, it outputs to the built-in VSCode console. It comes bundled with logs filtering functionality and displays links back to the source code with the log statement.

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

5/ Without doing anything extra, the simulator/emulator session is equipped with an integrated debugger that stops at breakpoints. Uncaught exceptions instead of displaying red box will navigate you to the file and line responsible for an error.

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

6/ We developed a new React Native Preview package that allows you to define individual component previews in your code. With a click-to-open link from the editor, the component renders in isolation allowing you to iterate on it without being distracted by the rest of your app.

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

7/ Device settings are available right in the preview window. You can adjust text size or light/dark mode. This works for both the component previews and for the main application project.

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

8/ Finally, the Editor Follow functionality tries to figure out the screen you want to look at when making changes in your project (based on edition/inspect history). It automatically moves between the screens when you switch between different files in your project.

Фото профиля Marc
Marc2 лет назад

@swmansion truly a gamechanger, nice work Krzysztof! 🤯😍

Фото профиля Krzysztof Magiera
Krzysztof Magiera2 лет назад

@swmansion Thanks 🙌

Похожие видео