Daniel Lo Nigro
Daniel Lo Nigro
Was this ever implemented? I'm trying to convince someone to switch from mdbook to Docusaurus, and they're using this feature in mdbook: https://rust-lang.github.io/mdBook/format/mdbook.html#including-portions-of-a-file
@danez I think you said you'd be working on this.
Hahaha oops, I must have typed `@d` and selected the wrong person in the dropdown. I meant @DrewML. Sorry @danez 😛
This is because React doesn't recognise the `` element. React 0.11 and older has a whitelist of HTML tags that it recognises, and I guess `tt` is not one of...
Oh I forgot to mention you'll probably have to update the JSXTransformer reference to point to 0.12 RC1 as well.
Oh, I didn't realise a whitelist was still used. I could work around this by converting `` to a different tag like `` or something, but perhaps that's unexpected behaviour...
Will this actually work properly? Won't it transform `onclick="doFoo()"` to `onClick="doFoo"` rather than `onClick={doFoo}`?
Interesting... I've never seen that XHP generics syntax before. Flow doesn't support it. so it's likely that most Meta employees probably don't even know this can be done in TypeScript...
> * Due to some technical limitations, I cannot place Webpack bundle in WebRoot directory Not even via some build process that copies the file across? `AddScript` and `AddScriptWithoutTransform` were...
> You might be better off adding a prettier rule that strips the extra parentheses and running code through prettier after the migration. FWIW this is generally the approach I...