Skip to content

Conversation

@Raubzeug
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Visual Tests Report is ready.

return unipika.converters.yson(value, settings);
} catch (error) {
return {_error: error};
}
Copy link
Collaborator

@ma-efremoff ma-efremoff Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const {convertedValue, error} = React.useMemo(() => {
    try {
        ...
        return {convertedValue: unipika.converters.yson(value, settings)};
    } catch(error) {
        return {error}
    }
}, ...);

@Raubzeug Raubzeug requested a review from ma-efremoff November 19, 2025 06:55
@Raubzeug Raubzeug merged commit 23519c9 into main Nov 19, 2025
3 checks passed
@Raubzeug Raubzeug deleted the render-error branch November 19, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants