webflow-react
webflow-react copied to clipboard
Generate default controllers for components with sockets
Let's say you have a component called "menu". And Then you have multiple "menuItem" components inside that menu. A default controller (or meta?) could be generated by the script under "default.js" where it would work like this:
- If there's multiple "menuItem" components inside "menu", it would create a content map using the "wfr-d" data points in each menu item. Rather than having to define data points for each "menuItem" component, it would try to identify the children of each menuItem (by class) and map those out.