Skip to content

Conversation

@dentarg
Copy link
Member

@dentarg dentarg commented Aug 10, 2024

- Use Turbo for superfast page loads
- Replace MouseTrap with built-in Stimulus KeyboardEvent Actions (https://stimulus.hotwired.dev/reference/actions#keyboardevent-filter)
- Redirect with 303 See Other (https://turbo.hotwired.dev/handbook/drive#redirecting-after-a-form-submission)
@dentarg dentarg changed the title WIP - use Turbo and Stimulus Turbo + Stimulus for fast page loads Aug 10, 2024
Comment on lines +58 to +59
"@hotwired/turbo": "https://cdn.jsdelivr.net/npm/@hotwired/turbo@8.0.5/+esm",
"@hotwired/stimulus": "https://cdn.jsdelivr.net/npm/@hotwired/stimulus@3.2.2/+esm",
Copy link
Member Author

@dentarg dentarg Nov 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to keep the ability to work on the wiki without internet access, so this needs to be different. Can we utilise the gem https://github.com/hotwired/turbo-rails? But that depends on actionpack and then we get a bunch of things, like activesupport 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants