Weekly round-up: Copy and paste components in the view builder

Copy and paste are any developer’s foremost time-saving tools. Stack Overflow even offered a keyboard with only the copy and paste keys — first as a joke, then as a real product.

Now, Baseten’s view builder offers this essential feature for components. You can copy and paste components within a view, preserving all properties, event handlers, bindings, and more between the copies. 

Copy and paste components

Because copy and paste copies all of the component’s properties, you cannot copy and paste components between views or applications. Instead, try cloning the entire view or application to build variants.

Combined with the delete hotkey and, of course, undo and redo, copy and paste makes using the view builder feel like flying a nimble starfighter, but with fewer explosions.

🎃 The pumpkin patch

A handful of small-but-mighty changes to make Baseten more joyful to use:

  • A badge on the logs tab within the application builder indicates new changes as you work

  • Autosave is now permanently enabled in files with a system in place to prevent code file save clobbers

  • The dot grid in the view builder now only displays when you are adding, resizing, or moving a component

  • Bug fixes and performance improvements