https://github.com/domchristie/turbo-shim
Implements the basic methods required for the turbo-ios adapter
https://github.com/domchristie/turbo-shim
Last synced: about 1 month ago
JSON representation
Implements the basic methods required for the turbo-ios adapter
- Host: GitHub
- URL: https://github.com/domchristie/turbo-shim
- Owner: domchristie
- Created: 2024-07-19T13:27:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-08T10:40:01.000Z (6 months ago)
- Last Synced: 2025-04-23T00:48:46.348Z (about 1 month ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# turbo-shim
> [!WARNING]
> Experimental & incompleteImplements the basic methods required for the [turbo-ios](https://github.com/hotwired/turbo-ios) adapter. The idea is that the Turbo Native adapters could be usable by client-side libraries other than Turbo, such as [htmx](https://github.com/bigskysoftware/htmx). For example, a hypothetical API:
```javascript
import 'htmx.org'
import Turbo from './turbo-shim.js'
import Driver from './turbo-native-htmx-driver.js'Turbo.registerDriver(Driver)
```## License
Released under the MIT license.