Skip to content

Commit

Permalink
add some known issues (#2193)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley authored Jan 10, 2025
1 parent 3eb9b24 commit c057d4b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/known_issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ nav_order: 9

# Known issues

_There remain several known issues with ViewComponent. We'd be thrilled to see you consider solutions to these thorny bugs!_

## Limited i18n support

ViewComponent currently only supports sidecar translation files. In some cases, it could be useful to support centralized translations using namespacing:

```yml
en:
view_components:
login_form:
submit: "Log in"
nav:
user_info:
login: "Log in"
logout: "Log out"
```
## Lack of Jekyll support
It would be lovely if we could support rendering ViewComponents in Jekyll, as it would enable the reuse of ViewComponents across static and dynamic (Rails-based) sites.
## Issues resolved by the optional capture compatibility patch
If you're experiencing issues with duplicated content or malformed HTML output, the capture compatibility patch may resolve these.
Expand Down

0 comments on commit c057d4b

Please sign in to comment.