Skip to Main Content
Builder.io Ideas
Created by Tim
Created on Apr 29, 2022

Include queryParams in appState or toUrl function for Plugins

It would be very useful to have access to queryParams in the toUrl function when building custom plugins. We are building a plugin that uses personalization that usually we include as queryParams so that users can change their state in the UI to test personalization. Currently there isnt any way to access the queryParams in either to toUrl function or the appState object, which would be very helpful indeed !

https://github.com/BuilderIO/builder/blob/b426d9c1f36681f8d1d24fd12a5bb0a616afb05c/plugins/example-data-plugin/src/plugin.ts#L37

  • Attach files