Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC: React as Template Renderer #110

Closed
JensRavens opened this issue Sep 30, 2024 · 0 comments · Fixed by #109
Closed

PoC: React as Template Renderer #110

JensRavens opened this issue Sep 30, 2024 · 0 comments · Fixed by #109
Assignees
Labels
backend Requires a backend developer. frontend Requires a frontend developer.

Comments

@JensRavens
Copy link
Member

JensRavens commented Sep 30, 2024

This story is about trying to integrate react/tsx as a template language into Rails. This is a proof of concept, to be extracted into a gem later on to be used across projects.

Acceptance Criteria

  • there's a way to mark templates as .html.tsx (similar to .html.slim) which will render the template
  • this should be performant in production and convenient in development
  • templates should not allow erb, all dependencies have to be passed via props
  • find a way to pass props in a typesafe way to the template
  • find a way to deal with translations
@JensRavens JensRavens added frontend Requires a frontend developer. backend Requires a backend developer. labels Sep 30, 2024
@JensRavens JensRavens self-assigned this Sep 30, 2024
@JensRavens JensRavens linked a pull request Jan 14, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires a backend developer. frontend Requires a frontend developer.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant