Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions docs/guides/improved-error-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,9 @@ If you prefer manual registration:
```erb
<%= javascript_pack_tag 'application' %>
<%= stylesheet_pack_tag 'application' %>
```
````

```

### Enhanced SSR Errors

Server-side rendering errors now include:
Expand Down Expand Up @@ -138,8 +137,7 @@ useEffect(() => { /_ DOM operations here _/ }, [])
if (typeof window !== 'undefined') { /_ browser code _/ }

• Use dynamic import for browser-only code

````
```

## Ruby Configuration

Expand All @@ -155,7 +153,7 @@ raise ReactOnRails::SmartError.new(
available_components: ReactOnRails::PackerUtils.registered_components
}
)
````
```

### Error Types

Expand Down