Re:Next.js 11
by ranza on Tuesday June 15, 2021 @06:12PM
(#27522201)
Well you sort of can. Just have a [view].js file, where the view variable will be the component. So you can have {view === 'details' && <Details />}
[ Parent
| on HN ]
There are no comments on this comment yet.