Cant find a distinctive difference on their docs so asking here.
prismic-javascript or @prismicio/client or prismic-reactjs or prismic-dom They all are npm packages. Can someone explain the 4 separate packages and when to use one over the other.
My assumptions.
- prismic-javascript is for connecting directly to the v2 api.
- @prismicio/client is the same package as prismic-javascript. Still confused about this.
- prismic-reactjs is just react components that you can pass data to from prismic-javascript api results.
- prismic-dom is used for plain vanilla JavaScript projects to render dom elements that you pass data to from prismic-javascript api results.
Am I correct with the above assumptions ?