-
Notifications
You must be signed in to change notification settings - Fork 539
Description
This is a follow up to a discussion in @yyx990803's workshop yesterday.
Specifically I wanted to register a vote for an ability to break up and organize template "chunks" along with reorganized functions/options in Vue 3's composition API.
Use case.. here is the code for the landing page you see at fiction.com
As you can see, the code is nearly 1000 lines long. The composition API will definitely help with this. However, the template alone clocks in at 150 lines. In this there are discrete areas of functionality like figures vs grids, etc..
The initial suggestion was to break things out into multiple components, however, this comes at a cognitive cost in jumping around to different files. As well as what you might call "file bloat"...
Im not sure of suggestions for the direct implementation details, however please consider its feasibility if you haven't already.