Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The issue with hydration of select options in Element-plus and server-side rendering that results from the absence of the IDINJECTIONKEY is that the selected option in the dropdown list may not be correctly hydrated when the server-side rendered page is loaded on the client-side. This can cause the dropdown list to not display the correct selected option, which can lead to confusion and frustration for the user. The IDINJECTIONKEY is a unique identifier that is used by Element-plus to ensure that the selected option is correctly hydrated when the page is loaded on the client-side. Without this key, the hydration process may not work as expected.