You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Clean Base: Make BaseGenerator conditional based on Redux option
- Only create HelloWorld structure for non-Redux components
- Only copy HelloWorld.module.css for non-Redux components
- Simplify Redux: Remove cleanup_base_generator_files method entirely
- Result: Eliminates wasteful create-then-delete pattern
- Verified: Both non-Redux (HelloWorld) and Redux (HelloWorldApp) work correctly
This approach is much cleaner since auto-registration is now the default behavior.
remove_dir"app/javascript/src/HelloWorld"ifDir.exist?("app/javascript/src/HelloWorld") && Dir.entries("app/javascript/src/HelloWorld").size <= 2# only . and ..
70
-
end
71
-
72
65
defadd_redux_specific_messages
73
66
# Override the generic messages with Redux-specific instructions
0 commit comments