DEV Community

Jeff Lindsay
Jeff Lindsay

Posted on

3 1

Re-adding Vecty support to vtemplates

I did a quick unscheduled stream to add Vecty back to vtemplate since I refactored it into a real library. As expected there were a few things I had to fix, but mostly minor. The new architecture works great. Most of my trouble came from making sure my reflected library was doing reflection correctly. Like I mentioned before, reflection can be tricky.

I rewrote my old Markdown demo prototype to use vtemplate and it works! I was hoping to get slots in so components can use their inner HTML, but I ran out of time. That's next, though, and shouldn't be that difficult. I think after that I can just start wrapping this up into a user friendly web framework, which is its own task. I want to make it easy to load template files living next to the Go file for a component, and rework my dev harness into a proper development server.

Retry later

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Retry later