You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, using the Element component can make spaghetti code.
Imagine if you have 100 HTML templates, and you have to wrap each tag with component so you can use them with Craft.js. I can't even imagine this approach.
So, is there a smart way to automatically convert HTML to Craft.js, like building a higher-order component?
By the way, I'm not a fan of the "not registered in the resolver" error.
I hope you can help
Thanks
The text was updated successfully, but these errors were encountered:
Hi guys, using the Element component can make spaghetti code.
Imagine if you have 100 HTML templates, and you have to wrap each tag with component so you can use them with Craft.js. I can't even imagine this approach.
So, is there a smart way to automatically convert HTML to Craft.js, like building a higher-order component?
By the way, I'm not a fan of the "not registered in the resolver" error.
I hope you can help
Thanks
The text was updated successfully, but these errors were encountered: