ReactUnity / core

React and HTML framework for Unity UI & UIToolkit
https://reactunity.github.io/
MIT License
740 stars 43 forks source link

Add searchParams to URL and create URLSearchParams #121

Closed gusCreator closed 2 weeks ago

gusCreator commented 2 weeks ago

I have been trying to add supabase package in my reactUnity project. Their packages use searchParams property of URL objects but this property is not in ReactUnity. For now, I have had patches in supabase packages to adjust. I think that this property could be added with a URLSearchParams class.

KurtGokhan commented 2 weeks ago

Added in 0.19.7

gusCreator commented 2 weeks ago

Hello Kurt! You are so fast, thanks for the feature. I have some problems yet. The method forEach does not exist in the implementation. I saw the guide that you followed for the implementation and it does not include this method. But I think that some packages could use it. Here the forEach method for URLSearchParams by MDN.