A similar issue occurs when you manually set the. I don't know why but you don't seem to use Link components consistently in your app when using anchor ( ) tags these types of links will reload the page and your app.More details are in the explained solutions from Drew and Taylor, and also Ajeet code box here ![]() I also changed all "a tags" to "Link components" to keep consistency. The solution is posted below, the main issue was I needed a function in the Image component to connect the src props from the Galleråontainer component. Many thanks to Taylor, Drew, and Ajeet for all of your help! My question, how do I write a redirect to fix the HTTP address removing the localhost address I have tried changing the state of the URL string but did not work. Now the URL string is being read like this: As you can see there is an address within the address in the string. ![]() I have found a solution to pass the data using the Link component. My challenge is connecting the src data to the child component. I am building a gallery where you click on the image and it will load in a separate component using props, this image is a URL, taken from an array, where the src property is loaded as a background image via CSS.
0 Comments
Leave a Reply. |