Closed SCullman closed 4 years ago
Ah, good one! I'm surprised we didn't catch this earlier :confused: I remember now we were talking about adding SnakeCase
to the CaseRules options, but apparently I forgot to do it at the end 😅
You mean this change is needed in other options too? That's why the PR is WIP?
You mean this change is needed in other options too?
Looks like the tip of an iceberg
That's why the PR is WIP?
I hoped for a kind of snake-case option, because on first sight it seemed that nearly any PascalCase word needs an hyphen.
Thank you for answering immediately. Tomorrow I will have a longer ride on a train, good chance to run through all props...
Hmm, I think you're right, we should use this opportunity to implement SnakeCase in the CaseRules. This would mean users need to update the fable-compiler version which unfortunately there's no way to force at the moment from a library. But given the CSS rules are already broken, I guess the worst thing that can happen is users won't get the fix until they update fable-compiler.
That would be great. There are more than 300 CSSProps. In checked about 50%. Either SnakeCase fits, or the props are unknown to Chrome :-). So I appreciate if you implement SnakeCase. In the mean time, may this state be merged as minor release? It would help in my project.
Sure thing! Published as 5.3.3
Whow, thanks!
I noticed that
WhiteSpace WhiteSpaceOptions.PreLine
was not working. If there is not an option missing, Compiled Name has to be set for a lot of props.