react-starter-kit
react-starter-kit copied to clipboard
how i can use setMeta ?
when i use setMeta :
TypeError: context.setMeta is not a function
you need to set the contextTypes in your component, i.e.
(functionName)..contextTypes = { setTitle: PropTypes.func.isRequired, setMeta: PropTypes.func.isRequired };
Once you do that, you can setMeta() to your hearts content
@farhad-arjmand thank you very much for crating this issue! Unfortunately, we have close it due to inactivity. Feel free to re-open it or join our Discord channel for discussion.
NOTE: The main branch has been updated with React Starter Kit v2, using JAM-style architecture.