rsnext/test/integration/next-dynamic
Sukka 3d23c3d9ee
fix(#40388): next/dynamic should only add default loading without suspense (#40397)
The PR fixes #40388.

Currently, `next/dynamic` will try to provide a default `loading` to the
`loadableOptions` even when `suspense` is enabled, thus triggering the
incorrect warning. The PR fixes that. The corresponding integration test
case is also updated.

cc @huozhi 

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

Co-authored-by: huozhi <inbox@huozhi.im>
2022-09-09 12:46:23 -07:00
..
apples Add next/dynamic test (#7600) 2019-06-18 16:52:02 -04:00
components improve react-loadable-plugin (#24281) 2021-04-21 11:18:05 +00:00
pages improve react-loadable-plugin (#24281) 2021-04-21 11:18:05 +00:00
test fix(#40388): next/dynamic should only add default loading without suspense (#40397) 2022-09-09 12:46:23 -07:00