CoreUI 3.0 hooks on React.js?
You know CoreUI React.js for so many years, e.g. thanks to Free and Pro versions.
Now it’s time for V3… What’s the difference?
Reactstrap has been replaced with our own code, which with the new context API and one naming convention across all components – brings a lot of new features that help to create amazing user interfaces. Eager to know more? Take a look…
Every React user know that hooks are a new addition in React 16.8 that let you use state and other React features without writing a class component. In other words, hooks are functions that let you “hook into” React state and lifecycle features from function components. They do not work inside class components but offer a brave new world. All components in CoreUI React.js v3 are React hook components.
Hooks don’t replace your knowledge of React concepts, but instead, they provide a faster implementation to the React concepts you already know: props, state, context, refs, and lifecycle. Hooks offer a new powerful way to combine them, that’s why you’re welcomed to use them in your CoreUI. What else will you find in our CoreUI React.js Admin Template?
- One naming convention across all components
- For custom components, you can define the content by yourself using related components
- New context API used – from the one you should get rid as fast as possible: https://en.reactjs.org/docs/legacy-context.html - to the one you ought to use https://en.reactjs.org/docs/context.html
More detailed information can be found here: https://coreui.io/react/docs/ Try our open-source version: https://coreui.io/react/ and upgrade when you need more: https://coreui.io/pro/react/