Skip to content

Have a main components folder and separate ui components vs server-side components. #9

@ashesh808

Description

@ashesh808

Have a components folder where ui/kanban.tsx would be the UI component and server/login.jinja would be the server side component. This would allow for more flexibility when picking building a page. Having a page_builder for each view such that:

def get():
  pb = PageBuilder()
  pb.add_layout(base.jinja) //This would not accept tsx components
  pb.add_server_component(user_info.jinja)
  pb.add_ui_component(editor.tsx)
  page = pb.build() => returns html with necessary wiring of the ui mounts
  render(page) 

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions