Thanks for the video! Do you know if it's possible to add a router for an existing dynamic page?
@omerkawaz3 ай бұрын
and also, how to route to a dynamic page, use redirect?
@thewixwiz3 ай бұрын
Routers are a parallel solution to dynamic pages.
@reyou74 ай бұрын
amazing explanation thanks!
@precasimantas-work5 ай бұрын
Hello, thanks for the video it's really great and informative :) I started to implement in one of my projects and it looks good, but I have a question. How about loading state? How can I render some loading content while the router is fetching data? Now I see white screen while router is fetching data. It's not good UX :( I'll be pleased if you can help me.
@thewixwiz5 ай бұрын
Thanks for watching! You can try adding a gif or Lottie to the page that shows until you populate the page with the router data.
@precasimantas-work5 ай бұрын
@@thewixwiz Well thats not the solution. Page content only loads when router is done with fetching data and sends it to Front, until that only blank screen is visible... Maybe you have other solutions? :)
@AnthonyAllioo6 ай бұрын
Finally, a video on this! Lol
@bigmotherism5 ай бұрын
can you make a router page your main page of your website (ie your all-pokemon page)?
@thewixwiz5 ай бұрын
I don't think you can make a router page your home page.
@abrahamolaobaju17815 ай бұрын
what about query parameters ?
@thewixwiz5 ай бұрын
You can access the query params in the router functions as well.
@abrahamolaobaju17815 ай бұрын
@@thewixwiz is it possible to define a router in a custom wix block app ?.