this.state.val1вызывай что-то в духеthis.getVal1()class MyComp extends React.Component {
...
getVal1() {
return this.state.val2 == 1;
}
} resources :projects do
resources :conclusions do
resources :notes do
resources :answers
end
end
end