Skip to content

Commit

Permalink
Initial structure for building components
Browse files Browse the repository at this point in the history
  • Loading branch information
jayohms committed Sep 14, 2023
1 parent 483a9af commit 0222f61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Strada Android

**[Strada](https://strada.hotwired.dev)** is a set of libraries that work across your [web](https://github.com/hotwired/strada-web), [iOS](https://github.com/hotwired/strada-ios), and Android apps to help you build features that make your [Turbo Native](https://turbo.hotwired.dev/handbook/native) hybrid apps stand out. Turn HTML elements that exist in the WebView into native components and communicate messages across your native and web code.
**[Strada](https://strada.hotwired.dev)** lets you create high fidelity native interactions driven by your web app. It's a set of libraries that work across your [web](https://github.com/hotwired/strada-web), [iOS](https://github.com/hotwired/strada-ios), and Android apps to help you build features that make your [Turbo Native](https://turbo.hotwired.dev/handbook/native) hybrid apps stand out. Turn HTML elements that exist in the WebView into native components and communicate messages across your native and web code.

**Strada Android** enables you to create native components that receive and reply to messages from web components that are present on the page. Native components use received messages to run native code, whether it's to build high fidelity native UI or call platform APIs.

## Features
- **Level up** your [Turbo Native](https://turbo.hotwired.dev/handbook/native) hybrid apps with high-fidelity native features, driven by the web.
- **Level up** your [Turbo Native](https://turbo.hotwired.dev/handbook/native) hybrid apps with high-fidelity native components, driven by web components.
- **Reuse web components** for your [iOS](https://github.com/hotwired/strada-ios) and Android apps.
- **Communicate with the WebView** and its web components without writing any javascript in your app.

Expand Down
8 changes: 8 additions & 0 deletions docs/BUILD-COMPONENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

## Your first component

After you set up your app in the [Quick Start](QUICK-START.md) guide, it's time to build your first native component. Native components receive messages from corresponding web components of the same name. So, be sure to understand how [web components](https://strada.hotwired.dev/handbook/web) work in your web app and start there.

## Handle received messages

`// TODO`

## Reply to received messages

`// TODO`

## Register your component

`// TODO`

0 comments on commit 0222f61

Please sign in to comment.