Utilities for Oracle JET VDOM (Preact) projectsWhen migrating from an MVVM project or component to VDOM and tsx, you need to convert the HTML attribute syntax to properties. While this is a pretty simple task, it can become tedious if the attribute is rather long. This extension will provide various utilities to help with the migration from MVVM based code syntax or samples to TSX/Preact syntax. Features
How to useConvert AttributeSelect any attribute that does not start with The menu option will only be available if you have some text selected Convert ElementSelect the full custom element from opening tag to closing tag. Right-click the mouse and select
ExamplesAttribute conversion
Custom element conversion from this
to this
RequirementsAny Oracle JET VDOM (Preact) based application or VComponent. Known Issues
Reporting Bugs or requesting new featuresFeel free to open issues in the GitHub repro to request new features or report bugs that you are hitting. I'm updating this utility as I run into my own needs and issues at the moment. If anyone else is using it and has issues that they want focused on, just let me know. |