mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 15:34:53 +02:00
cleanup
This commit is contained in:
parent
e872a0ea3a
commit
74f82b5e86
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,8 @@ This approach involves refactoring Django into a backend-only service and adopti
|
|||
|
||||
This approach was deemed too costly in terms of both time and resources.
|
||||
|
||||
---
|
||||
|
||||
**Option 2:** Adopt a Modern JS Framework for Select Parts of the Application
|
||||
Instead of a full migration, this approach involves integrating a modern JavaScript framework (e.g., React or Vue) only in areas that require high interactivity.
|
||||
|
||||
|
@ -47,6 +49,8 @@ Instead of a full migration, this approach involves integrating a modern JavaScr
|
|||
|
||||
This approach would still introduce diverging implementation stacks, leading to long-term maintenance challenges.
|
||||
|
||||
---
|
||||
|
||||
**Option 3:** Use a Lightweight JavaScript Framework (e.g., HTMX, HTMZ)
|
||||
Instead of React or Vue, this approach involves using a minimal JavaScript framework like HTMX or HTMZ to enhance interactivity while preserving Django’s server-rendered structure.
|
||||
|
||||
|
@ -62,6 +66,8 @@ Instead of React or Vue, this approach involves using a minimal JavaScript frame
|
|||
|
||||
Ultimately, we determined that the benefits did not outweigh the potential downsides.
|
||||
|
||||
---
|
||||
|
||||
**Option 4:** Extend Vanilla JavaScript with AJAX (Selected Option)
|
||||
This approach involves incrementally enhancing Django’s server-rendered pages with AJAX while maintaining our existing architecture.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue