WB
Web Bae8mo ago
Mick.D

How much code is too much code? - Webflow

Heya! I'm working on a Mapbox integration with Webflow. My custom code sits just below the maximum characters. Would hosting (then importing) my JS script be a better approach? Either for faster render speed or just for good practice? Cheers Folks
2 Replies
dinomurselovic
dinomurselovic8mo ago
You could use https://slater.app/ for this!
Slater | AI Custom Code Tool For Webflow Projects
Slater is an modern coding environment with an inbuilt AI tool. Get custom code quickly with no character limits. Sign up today!
Web Bae
Web Bae8mo ago
In general, the code will be faster if you ship it with your website (I.e. don’t host it externally). However, hosting externally provides some benefits to code organization and advanced tooling. Sometimes I’ll write the code in codesnadox or vs code then minify it and use that code in the project. Lots of different options here… if it all fits and you don’t need room for additional code then I don’t see the need for changing much. 😄