[wp-trac] [WordPress Trac] #60094: Performance Issue in Object Cloning using JSON.parse(JSON.stringify()) on Safari and Firefox

WordPress Trac noreply at wordpress.org
Mon Dec 18 14:45:49 UTC 2023


#60094: Performance Issue in Object Cloning using JSON.parse(JSON.stringify()) on
Safari and Firefox
--------------------------------+------------------------------
 Reporter:  omeri6              |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:  6.4
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  performance
--------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  changes-requested needs-patch => needs-patch
 * component:  General => External Libraries
 * severity:  major => normal


Comment:

 Just so understand correctly, your suggestion is to change which core-js
 modules are provided by the `wp-polyfill` script because you ran into some
 issues with `JSON.parse( JSON.stringify( object ) ) ` in your custom
 plugin?

 I think that would require a ticket on the Gutenberg repo as it seems to
 come from the `babel-preset-default` package.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60094#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list