Skip to content
Snippets Groups Projects

Draft: Experimental: Use Django tags to create UI components

Closed Jayesh requested to merge jayeshv/swh-web:exp-tags into master
  1. Dec 06, 2023
  2. Dec 04, 2023
    • Jayesh's avatar
      Create re-usable UI components with Django tags. · c3db69ab
      Jayesh authored
      example: Simple single item revision widget and a paginated directory widget.
      Base component types are: Single Item Component and Paginated Component.
      Components are capable of fetching and rendering its own data and are
      context aware. GraphQL is used as the backend.
      
      This approach could improve code re-usability and can be faster,
      at least in some cases. It will also make pagination simpler with
      a re-usable pattern along with template cache.
      c3db69ab
Loading