-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Design and implement a nextjs HOC that assists users in toggling content and status's based on active/inactive features. It should
- render the correct page on both the server and client
- send the correct status code from the server
Post suggestions for the HOC API here for discussion.
I believe nextjs requires that getInitialProps sets status code in order to accomplish the goals above.
Some details here: #37 (comment)
Don't export the new HOC in src/index.js. We want users to manually import this separate from the main module to avoid code bloat for those that don't use nextjs. See how RITEway provide render-component as an example
fadonascimentofadonascimento
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request