Use checkbox or radio in edit from

When using checkbox or radio in edit form, it’s not getting the default value from database.
in case of checkbox (both boxes are not checked until we check one of theme.
in case of radio it is the same, the situation remain even with drop down box
in my data base I have bool (1 and 0) and I populate the component with 1: yes and 0: No
Any solution??
I m using node express with react .