This looks similar to the issue we had in our solution which was identified as a bug in Layout Service and fixed for us by Sitecore Support in both 9.3 and 10.0.
You can check it with Sitecore Support with reference number: 442855 (CS0196105)
Issue description: LayoutService renders item fields without Values after reaching max depth for all the subsequent ...
To fix the issue you need to implement React component for this rendering. The problem is that layout service returns it with space in name, so your componentFactory.js should have following generated output to register such component:
import HiddenRendering from '../helpers/HiddenRendering';
components.set('Hidden Rendering', HiddenRendering);
To achieve ...
I just come across this issue, while i investigate then found my Import service url was wrong
Import Service Url: http://App_name/sitecore/api/jss/import
File where configuration given for below config file:-
File Name: scjssconfig
Path: D:\App_Name (Root Folder of App)
First make sure Prettier is your default Formatter (which probably is based on compile error):
Select VS Code -> View -> Command Palette, and type: Format Document With
Then Configure Default Formatter... and then choose
Prettier - Code formatter.
Then specify Prettier formatting rules:
Create .prettierrc file in your solution root (usually src ...