-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(js): Com 145 introduce novunextjs #6647
Conversation
a1158e3
to
6720dae
Compare
novu
@novu/client
@novu/framework
@novu/headless
@novu/nest
@novu/js
@novu/nextjs
@novu/node
@novu/notification-center
@novu/providers
@novu/react
@novu/shared
@novu/react-native
@novu/stateless
commit: |
✅ Deploy Preview for novu-stg-vite-dashboard-poc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
export const Inbox = React.memo((props: InboxProps) => { | ||
const router = useRouter(); | ||
|
||
return <RInbox routerPush={router.push} {...props} />; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
@@ -0,0 +1,38 @@ | |||
'use client'; | |||
|
|||
import { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we export from @novu/react in a single file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is we need to export everything from @novu/react
except the Inbox
I tried few methods like
import * as NovuReact from'@novu/react
const {Inbox, ...rest} = NovuReact;
export {rest}
and other similar ways, they didn't worked :/
7743869
to
71d6f15
Compare
packages/nextjs/README.md
Outdated
} | ||
``` | ||
|
||
## Use your own backend and socket URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this to the last example. The others are more important.
What changed? Why was the change needed?
@novu/nextjs
packageScreenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer