-
Notifications
You must be signed in to change notification settings - Fork 140
Obligatory fragments #251
Comments
The reason I am not sure how will you deal with status codes when two fragments have influence on the page, do you still mean to keep The way we deal with this problem is to have a |
Yes.
Let's say the |
@shilangyu yeah got it, raise an error in the sense of returning 500 page? |
500 sounds good, would the |
After having some thought process, I started to feel like this would mean we have to hold on to the response stream till all the obligatory fragments respond (normal src and also fallback-src) which will have a huge performance impact on time to first byte time. |
Currently only a
primary
attribute makes a<fragment />
obligatory (if fails to load, creates an error). But it means we are limited to 1 obligatory<fragment />
per page.reason
Sometimes there are pages that need more than one microfrontend to work properly, therefore if any fails i'd like Tailor to create an error just like with not working
primary
fragment.proposition
maybe an
obligatory
attribute (shouldnt be a breaking change)if any of the two fails -> produce error
The text was updated successfully, but these errors were encountered: