4 posts tagged with "react"
SEO with Gatsby and React-Helmet
React-Helmet is a way of managing all of the changes that are made to the head of an HTML document. With this component you can control the head using their react component. This allows you to add attributes to their component that will be added to the static HTML pages…
BooleanInput not saving in React-Admin
So I was having an issue in react-admin where the value of BooleanInput (e.g. a checkbox slider) was not saving to my backend. Specifically when I left the input as unchecked when creating a new entry it wouldn’t pass the parameter of that checkbox (unchcked so false or…
Sticky Sidebar in React
How to do it Now you could use something like react-sticky to do something like this, but it’s so much easier to just define your sidebar using css. You can change the top position to be any amount that would include your fixed header if you wanted to.
Fixing Polyglot.transformPhrase expects argument #1 to be string in react-admin
What does transformPhrase even mean? So sometimes when I’m trying to save a form in react-admin I see this really annoying error: Uncaught TypeError: Polyglot.transformPhrase expects argument #1 to be string The reason why this happens is because the translateChoice…